public function BaseFieldOverride::getClass in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php \Drupal\Core\Field\Entity\BaseFieldOverride::getClass()
Returns the class used for creating the typed data object.
If not specified, the default class of the data type will be returned.
Return value
string The class used for creating the typed data object.
Overrides FieldConfigBase::getClass
File
- core/
lib/ Drupal/ Core/ Field/ Entity/ BaseFieldOverride.php, line 146
Class
- BaseFieldOverride
- Defines the base field override entity.
Namespace
Drupal\Core\Field\EntityCode
public function getClass() {
return $this
->getBaseFieldDefinition()
->getClass();
}