public function DataDefinitionInterface::getClass in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::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.
2 methods override DataDefinitionInterface::getClass()
- DataDefinition::getClass in core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php - Returns the class used for creating the typed data object.
- FieldConfigBase::getClass in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the class used for creating the typed data object.
File
- core/
lib/ Drupal/ Core/ TypedData/ DataDefinitionInterface.php, line 124
Class
- DataDefinitionInterface
- Interface for data definitions.
Namespace
Drupal\Core\TypedDataCode
public function getClass();