function DataDefinitionInterface::getSetting
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getSetting()
- 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getSetting()
- 11.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getSetting()
Returns the value of a given setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value.
2 methods override DataDefinitionInterface::getSetting()
- DataDefinition::getSetting in core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php - Returns the value of a given setting.
- FieldConfigBase::getSetting in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the value of a given setting.
File
-
core/
lib/ Drupal/ Core/ TypedData/ DataDefinitionInterface.php, line 145
Class
- DataDefinitionInterface
- Interface for data definitions.
Namespace
Drupal\Core\TypedDataCode
public function getSetting($setting_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.