function FieldStorageConfigInterface::setSetting
Same name in other branches
- 9 core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setSetting()
- 10 core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setSetting()
- 11.x core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setSetting()
Sets the value for a field setting by name.
Parameters
string $setting_name: The name of the setting.
mixed $value: The value of the setting.
Return value
$this
1 method overrides FieldStorageConfigInterface::setSetting()
- FieldStorageConfig::setSetting in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Sets the value for a field setting by name.
File
-
core/
modules/ field/ src/ FieldStorageConfigInterface.php, line 83
Class
- FieldStorageConfigInterface
- Provides an interface defining a field storage entity.
Namespace
Drupal\fieldCode
public function setSetting($setting_name, $value);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.