You are here

public static function FieldItemInterface::fieldSettingsToConfigData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::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.

See also

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

1 method overrides FieldItemInterface::fieldSettingsToConfigData()
FieldItemBase::fieldSettingsToConfigData in core/lib/Drupal/Core/Field/FieldItemBase.php
Returns a settings array that can be stored as a configuration value.

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 332
Contains \Drupal\Core\Field\FieldItemInterface.

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public static function fieldSettingsToConfigData(array $settings);