function FieldItemBase::fieldSettingsToConfigData

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::fieldSettingsToConfigData()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::fieldSettingsToConfigData()
  3. 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::fieldSettingsToConfigData()

Overrides FieldItemInterface::fieldSettingsToConfigData

1 method overrides FieldItemBase::fieldSettingsToConfigData()
TestItem::fieldSettingsToConfigData in core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php
Returns a settings array that can be stored as a configuration value.

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 261

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public static function fieldSettingsToConfigData(array $settings) {
    return $settings;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.