public static function FieldItemBase::fieldSettingsFromConfigData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::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.
Overrides FieldItemInterface::fieldSettingsFromConfigData
See also
\Drupal\Core\Field\FieldItemInterface::fieldSettingsToConfigData()
1 method overrides FieldItemBase::fieldSettingsFromConfigData()
- TestItem::fieldSettingsFromConfigData in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestItem.php - Returns a settings array in the field type's canonical representation.
File
- core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 259 - Contains \Drupal\Core\Field\FieldItemBase.
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function fieldSettingsFromConfigData(array $settings) {
return $settings;
}