Issue #3105925 by kiamlaluno: The description of the arguments for FieldDefinition::setDisplayOptions() conflicts with what reported in FieldDefinitionInterface::getDisplayOptions()
(cherry picked from commit d7f58c36ff
)
merge-requests/64/head
parent
fd453446d0
commit
295a6c45de
|
@ -143,7 +143,7 @@ class FieldDefinition extends ListDataDefinition implements FieldDefinitionInter
|
|||
* 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
|
||||
|
|
Loading…
Reference in New Issue