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
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:
- 3518967-incorrect-return-docs
changes, plain diff MR !11823
Comments
Comment #4
quadrexdevUpdated @return docs; probably just got random failures in the pipeline
Comment #5
joachim commentedLooks good, thanks!
Comment #8
quietone commentedThanks for this improvement!