diff --git a/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php b/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php index 132048c..e418e31 100644 --- a/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php +++ b/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php @@ -62,11 +62,9 @@ public function getDataType(); /** * Returns a human readable label. * - * String or an instance of TranslatableMarkup based on the way how the label - * translation is handled. - * * @return string|\Drupal\Core\StringTranslation\TranslatableMarkup - * The label. + * The label. String or an instance of TranslatableMarkup will be returned + * based on the way the label translation is handled. */ public function getLabel();