function FieldItemBase::storageSettingsSummary

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::storageSettingsSummary()

Returns a short summary of the field's storage-level settings.

All information returned by this function should communicate fundamental information about the field storage settings for users. For example, in the case of a reference field, the configured target entity type is a crucial piece of information for understanding how the field can be used.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.

Return value

array A renderable array summarizing storage-level settings.

Overrides FieldItemInterface::storageSettingsSummary

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 39

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public static function storageSettingsSummary(FieldStorageDefinitionInterface $storage_definition) : array {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.