Issue #3344938: Get the current translation within the wrapped field output
Compare changes
@@ -2,6 +2,7 @@
@@ -52,9 +53,11 @@ class FieldLink extends FieldWrapperBase {
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, FormatterPluginManager $formatter_plugin_manager, FieldTypePluginManagerInterface $field_type_plugin_manager, LanguageManagerInterface $language_manager) {
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, FormatterPluginManager $formatter_plugin_manager, FieldTypePluginManagerInterface $field_type_plugin_manager, LanguageManagerInterface $language_manager, EntityRepositoryInterface $entity_repository) {
@@ -72,7 +75,8 @@ class FieldLink extends FieldWrapperBase {