public static function FieldItemBase::fieldSettingsToConfigData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::fieldSettingsToConfigData()
Returns a settings array that can be stored as a configuration value.
Same as static::storageSettingsToConfigData(), but for the field's settings.
Parameters
array $settings: The field's settings in the field type's canonical representation.
Return value
array An array (either the unmodified $settings or a modified representation) that is suitable for storing as a deployable configuration value.
Overrides FieldItemInterface::fieldSettingsToConfigData
See also
\Drupal\Core\Field\FieldItemInterface::storageSettingsToConfigData()
1 method overrides FieldItemBase::fieldSettingsToConfigData()
- TestItem::fieldSettingsToConfigData in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestItem.php - Returns a settings array that can be stored as a configuration value.
File
- core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 252 - Contains \Drupal\Core\Field\FieldItemBase.
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function fieldSettingsToConfigData(array $settings) {
return $settings;
}