function ContextDefinition::getDataType
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::getDataType()
- 10 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::getDataType()
- 11.x core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::getDataType()
Overrides ContextDefinitionInterface::getDataType
3 calls to ContextDefinition::getDataType()
- ContextDefinition::dataTypeMatches in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Checks if this definition's data type matches that of the given context.
- ContextDefinition::getDataDefinition in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Returns the data definition of the defined context.
- EntityContextDefinition::getEntityTypeId in core/
lib/ Drupal/ Core/ Plugin/ Context/ EntityContextDefinition.php - Returns the entity type ID of this context.
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php, line 122
Class
- ContextDefinition
- Defines a class for context definitions.
Namespace
Drupal\Core\Plugin\ContextCode
public function getDataType() {
return $this->dataType;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.