function DataDefinition::getSettings
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::getSettings()
- 10 core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::getSettings()
- 11.x core/lib/Drupal/Core/TypedData/DataDefinition.php \Drupal\Core\TypedData\DataDefinition::getSettings()
Overrides DataDefinitionInterface::getSettings
2 methods override DataDefinition::getSettings()
- BaseFieldDefinition::getSettings in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the array of settings, as required by the used class.
- FieldDefinition::getSettings in core/
lib/ Drupal/ Core/ Field/ FieldDefinition.php - Returns the array of settings, as required by the used class.
File
-
core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php, line 217
Class
- DataDefinition
- A typed data definition class for defining data based on defined data types.
Namespace
Drupal\Core\TypedDataCode
public function getSettings() {
return isset($this->definition['settings']) ? $this->definition['settings'] : [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.