FieldItemInterface::fieldSettingsFromConfigData

public static FieldItemInterface::fieldSettingsFromConfigData(array $settings)

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

This function does the inverse of static::fieldSettingsToConfigData(). 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 field settings, in the representation expected by the field type and code that interacts with it.

See also

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

File

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

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

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

Please login to continue.