From d541a7f8b41318eae2d66f29c89e4918dee4138b Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 15 Mar 2018 13:34:54 +0000 Subject: [PATCH] Issue #2926479 by bhanuprakashnani, mohit1604, joachim: incorrectly formatted docs in mainPropertyName() --- core/lib/Drupal/Core/Field/FieldItemInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Field/FieldItemInterface.php b/core/lib/Drupal/Core/Field/FieldItemInterface.php index f23395c10d79..8e3e52b9f488 100644 --- a/core/lib/Drupal/Core/Field/FieldItemInterface.php +++ b/core/lib/Drupal/Core/Field/FieldItemInterface.php @@ -38,8 +38,8 @@ public static function propertyDefinitions(FieldStorageDefinitionInterface $fiel * Returns the name of the main property, if any. * * Some field items consist mainly of one main property, e.g. the value of a - * text field or the @code target_id @endcode of an entity reference. If the - * field item has no main property, the method returns NULL. + * text field or the target_id of an entity reference. If the field item has + * no main property, the method returns NULL. * * @return string|null * The name of the value property, or NULL if there is none. -- GitLab