function FieldItemBase::fieldSettingsSummary
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::fieldSettingsSummary()
Returns a short summary of the field's field-level settings.
All information returned by this function should communicate fundamental information about the field settings for users. For example, in the case of a reference field, the selected target entity bundles are a crucial piece of information for understanding how the field can be used.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field entity.
Return value
array A renderable array summarizing the field-level settings.
Overrides FieldItemInterface::fieldSettingsSummary
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 46
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function fieldSettingsSummary(FieldDefinitionInterface $field_definition) : array {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.