Respect "Rendering language" setting of Views
Open
requested to merge issue/dependent_fields-3305939:3305939-respect-rendering-language-setting into 1.x
Compare changes
@@ -5,6 +5,7 @@ namespace Drupal\dependent_fields\Plugin\EntityReferenceSelection;
@@ -17,9 +18,11 @@ use Drupal\Core\Field\FieldTypePluginManagerInterface;
@@ -96,6 +99,13 @@ class ViewsSelection extends PluginBase implements SelectionInterface, Container
@@ -119,8 +129,10 @@ class ViewsSelection extends PluginBase implements SelectionInterface, Container
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, AccountInterface $current_user, MessengerInterface $messenger, RequestStack $request_stack, EntityFieldManagerInterface $entity_field_manager, FieldTypePluginManagerInterface $field_type_plugin_manager) {
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, AccountInterface $current_user, MessengerInterface $messenger, RequestStack $request_stack, EntityFieldManagerInterface $entity_field_manager, FieldTypePluginManagerInterface $field_type_plugin_manager, RendererInterface $renderer) {
@@ -130,6 +142,7 @@ class ViewsSelection extends PluginBase implements SelectionInterface, Container
@@ -146,7 +159,8 @@ class ViewsSelection extends PluginBase implements SelectionInterface, Container
@@ -548,9 +562,11 @@ class ViewsSelection extends PluginBase implements SelectionInterface, Container