FieldItemInterface::fieldSettingsToConfigData

public static FieldItemInterface::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.

See also

\Drupal\Core\Field\FieldItemInterface::storageSettingsToConfigData()

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 327

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public static function fieldSettingsToConfigData(array $settings);
doc_Drupal
2016-10-29 09:11:46
Comments
Leave a Comment

Please login to continue.