Remove the reference to ElementInfoManagerInterface::getInfo() in EntityFieldSelect::getInfo()

Created on 13 April 2023, over 1 year ago
Updated 27 April 2023, over 1 year ago

The documentation comment for EntityFieldSelect::getInfo() is the following one.

  /**
   * {@inheritdoc}
   *
   * See @ElementInfoManagerInterface::getInfo().
   */

It contains a typo, and it should probably be @see ElementInfoManagerInterface::getInfo(), but it is also useless, since the inherited documentation comment is the following one.

  /**
   * Returns the element properties for this element.
   *
   * @return array
   *   An array of element properties. See
   *   \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for
   *   documentation of the standard properties of all elements, and the
   *   return value format.
   */
  public function getInfo();

There is no need to add a reference already added by the inherited documentation comment. That line can be removed.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024