function FieldItemInterface::fieldSettingsFromConfigData
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::fieldSettingsFromConfigData()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::fieldSettingsFromConfigData()
- 11.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::fieldSettingsFromConfigData()
Returns a settings array in the field type's canonical representation.
This function does the inverse of static::fieldSettingsToConfigData(). It's called when loading a field's settings from a configuration object.
Parameters
array $settings: The field's settings, as it is stored within a configuration object.
Return value
array The field settings, in the representation expected by the field type and code that interacts with it.
See also
\Drupal\Core\Field\FieldItemInterface::fieldSettingsToConfigData()
1 method overrides FieldItemInterface::fieldSettingsFromConfigData()
- FieldItemBase::fieldSettingsFromConfigData in core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemInterface.php, line 381
Class
- FieldItemInterface
- Interface for entity field items.
Namespace
Drupal\Core\FieldCode
public static function fieldSettingsFromConfigData(array $settings);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.