You are here

public static function FieldItemInterface::storageSettingsFromConfigData 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::storageSettingsFromConfigData()

Returns a settings array in the field type's canonical representation.

This function does the inverse of static::storageSettingsToConfigData(). It's called when loading a field's settings from a configuration object.

Parameters

array $settings: The field's settings, as it is stored within a configuration object.

Return value

array The settings, in the representation expected by the field type and code that interacts with it.

See also

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

1 method overrides FieldItemInterface::storageSettingsFromConfigData()
FieldItemBase::storageSettingsFromConfigData in core/lib/Drupal/Core/Field/FieldItemBase.php
Returns a settings array in the field type's canonical representation.

File

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

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public static function storageSettingsFromConfigData(array $settings);