Unverified Commit d7f58c36 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3105925 by kiamlaluno: The description of the arguments for...

Issue #3105925 by kiamlaluno: The description of the arguments for FieldDefinition::setDisplayOptions() conflicts with what reported in FieldDefinitionInterface::getDisplayOptions()
parent f4bda921
Loading
Loading
Loading
Loading
+1 −1
Changes for core/lib/Drupal/Core/Field/FieldDefinition.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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