Skip to content

Commit

Permalink
Issue #3105925 by kiamlaluno: The description of the arguments for Fi…
Browse files Browse the repository at this point in the history
…eldDefinition::setDisplayOptions() conflicts with what reported in FieldDefinitionInterface::getDisplayOptions()

(cherry picked from commit d7f58c36ffc25ad334560f1a51ec7dea41731b73)
  • Loading branch information
alexpott committed Mar 14, 2020
1 parent 1e30ac7 commit d885a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Drupal/Core/Field/FieldDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function isDisplayConfigurable($display_context) {
* An array of display options. Refer to
* \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
* a list of supported keys. The options should include at least a 'weight',
* or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
* or specify 'region' = 'hidden'. The 'default_widget'/'default_formatter'
* for the field type will be used if no 'type' is specified.
*
* @return $this
Expand Down

0 comments on commit d885a94

Please sign in to comment.