function DataDefinitionInterface::getClass
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getClass()
- 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getClass()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.