Problem/Motivation

The docs say:

   * @return array
   *   An associative array describing the element types being defined. The
   *   array contains a sub-array for each element type, with the
   *   machine-readable type name as the key

but this is wrong, as the method is for getting the info for a *single* type, as the first line describes:

> * Retrieves the default properties for the defined element type.

There is no sub-array, and there is only one element type.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3518967

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joachim created an issue. See original summary.

quadrexdev made their first commit to this issue’s fork.

quadrexdev’s picture

Status: Active » Needs review

Updated @return docs; probably just got random failures in the pipeline

joachim’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, thanks!

  • quietone committed 849b9483 on 11.1.x
    Issue #3518967 by quadrexdev, joachim: incorrect @return docs for...

  • quietone committed 87c85acb on 11.x
    Issue #3518967 by quadrexdev, joachim: incorrect @return docs for...
quietone’s picture

Version: 11.x-dev » 11.1.x-dev
Status: Reviewed & tested by the community » Fixed

Thanks for this improvement!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.