public static FieldItemBase::fieldSettingsToConfigData(array $settings)
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()
File
- core/lib/Drupal/Core/Field/FieldItemBase.php, line 247
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\Field
Code
public static function fieldSettingsToConfigData(array $settings) { return $settings; }
Please login to continue.