function FieldTypePluginManager::getStorageSettingsSummary
Same name in other branches
- 10 core/lib/Drupal/Core/Field/FieldTypePluginManager.php \Drupal\Core\Field\FieldTypePluginManager::getStorageSettingsSummary()
Overrides FieldTypePluginManagerInterface::getStorageSettingsSummary
File
-
core/
lib/ Drupal/ Core/ Field/ FieldTypePluginManager.php, line 137
Class
- FieldTypePluginManager
- Plugin manager for 'field type' plugins.
Namespace
Drupal\Core\FieldCode
public function getStorageSettingsSummary(FieldStorageDefinitionInterface $storage_definition) : array {
$plugin_definition = $this->getDefinition($storage_definition->getType(), FALSE);
if (!empty($plugin_definition['class'])) {
$plugin_class = DefaultFactory::getPluginClass($storage_definition->getType(), $plugin_definition);
return $plugin_class::storageSettingsSummary($storage_definition);
}
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.