diff --git a/core/lib/Drupal/Core/TypedData/TypedData.php b/core/lib/Drupal/Core/TypedData/TypedData.php index b97587b..216d8c1 100644 --- a/core/lib/Drupal/Core/TypedData/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/TypedData.php @@ -73,21 +73,21 @@ public function getPluginDefinition() { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getDefinition(). + * {@inheritdoc} */ public function getDefinition() { return $this->definition; } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getValue(). + * {@inheritdoc} */ public function getValue() { return $this->value; } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::setValue(). + * {@inheritdoc} */ public function setValue($value, $notify = TRUE) { $this->value = $value; @@ -98,14 +98,14 @@ public function setValue($value, $notify = TRUE) { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getString(). + * {@inheritdoc} */ public function getString() { return (string) $this->getValue(); } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getConstraints(). + * {@inheritdoc} */ public function getConstraints() { // @todo: Add the typed data manager as proper dependency. @@ -113,7 +113,7 @@ public function getConstraints() { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::validate(). + * {@inheritdoc} */ public function validate() { // @todo: Add the typed data manager as proper dependency. @@ -130,7 +130,7 @@ public function applyDefaultValue($notify = TRUE) { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::setContext(). + * {@inheritdoc} */ public function setContext($name = NULL, TypedDataInterface $parent = NULL) { $this->parent = $parent; @@ -138,14 +138,14 @@ public function setContext($name = NULL, TypedDataInterface $parent = NULL) { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getName(). + * {@inheritdoc} */ public function getName() { return $this->name; } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getRoot(). + * {@inheritdoc} */ public function getRoot() { if (isset($this->parent)) { @@ -156,7 +156,7 @@ public function getRoot() { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getPropertyPath(). + * {@inheritdoc} */ public function getPropertyPath() { if (isset($this->parent)) { @@ -174,9 +174,7 @@ public function getPropertyPath() { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getParent(). - * - * @return \Drupal\Core\Entity\Field\FieldItemListInterface + * {@inheritdoc} */ public function getParent() { return $this->parent;