Loading core/lib/Drupal/Core/Field/BaseFieldDefinition.php +3 −2 Original line number Diff line number Diff line Loading @@ -371,8 +371,9 @@ public function addPropertyConstraints($name, array $constraints) { * 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' * for the field type will be used if no 'type' is specified. * or specify 'region' = 'hidden'. The 'default_widget' / * 'default_formatter' for the field type will be used if no 'type' is * specified. * * @return static * The object itself for chaining. Loading Loading
core/lib/Drupal/Core/Field/BaseFieldDefinition.php +3 −2 Original line number Diff line number Diff line Loading @@ -371,8 +371,9 @@ public function addPropertyConstraints($name, array $constraints) { * 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' * for the field type will be used if no 'type' is specified. * or specify 'region' = 'hidden'. The 'default_widget' / * 'default_formatter' for the field type will be used if no 'type' is * specified. * * @return static * The object itself for chaining. Loading