function FieldStorageDefinitionInterface::getSetting
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getSetting()
- 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getSetting()
- 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getSetting()
Returns the value of a given storage setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value or NULL if the setting name doesn't exist.
1 method overrides FieldStorageDefinitionInterface::getSetting()
- FieldStorageConfig::getSetting in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Returns the value of a given storage setting.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionInterface.php, line 79
Class
- FieldStorageDefinitionInterface
- Defines an interface for entity field storage definitions.
Namespace
Drupal\Core\FieldCode
public function getSetting($setting_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.