Problem/Motivation
The doc blocks for configureEntityFormDisplay()
and configureEntityViewDisplay()
are inaccurate.
Originally, there was just one method, configureEntityDisplays()
. In #2446511: Add a "preconfigured field options" concept in Field UI this was split up into two methods, and the original doc block was copied for both. The parameter comments were updated, but the first line of the doc block still reads
* Configures the newly created field for the default view and form modes.
even though one of the new functions handles view modes and the other handles form modes.
Proposed resolution
Update the doc blocks to describe accurately what each method does.
Remaining tasks
Update the doc blocks.
User interface changes
None
API changes
None
Data model changes
None