diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php index 52a3f34..18935c1 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php @@ -52,27 +52,6 @@ public static function propertyDefinitions(FieldStorageDefinitionInterface $fiel } /** - * {@inheritdoc} - */ - public function getValue($include_computed = FALSE) { - $value = parent::getValue(); - - // Include computed properties if the condition of - // ::includeComputedProperties() is fulfilled. - if ($this->includeComputedProperties($include_computed)) { - // Iterate only over computed properties and include them, as the parent - // method is not including them. - foreach ($this->properties as $name => $property) { - $definition = $property->getDataDefinition(); - if ($definition->isComputed()) { - $value[$name] = $property->getValue(); - } - } - } - return $value; - } - - /** * Defines allowed language codes for the field's AllowedValues constraint. * * @return string[]