function FieldDefinition::getConfig
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::getConfig()
- 10 core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::getConfig()
- 11.x core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::getConfig()
Overrides FieldDefinitionInterface::getConfig
File
-
core/
lib/ Drupal/ Core/ Field/ FieldDefinition.php, line 272
Class
- FieldDefinition
- A class for defining entity field definitions.
Namespace
Drupal\Core\FieldCode
public function getConfig($bundle) {
// @todo provide a FieldDefinitionOverride config entity in
// https://www.drupal.org/project/drupal/issues/2935978.
throw new \Exception('Field definitions do not currently have an override config entity.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.