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.
array $settings: The field's settings in the field type's canonical representation.
array An array (either the unmodified $settings or a modified representation) that is suitable for storing as a deployable configuration value.
Overrides FieldItemInterface::fieldSettingsToConfigData
\Drupal\Core\Field\FieldItemInterface::storageSettingsToConfigData()
public static function fieldSettingsToConfigData(array $settings) { return $settings; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldItemBase.php/function/FieldItemBase::fieldSettingsToConfigData/8.1.x