function ContextDefinition::getDataType
Same name in other branches
- 9 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
4 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.
- ContextDefinition::initializeEntityContextDefinition in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Initializes $this->entityContextDefinition for backwards compatibility.
- 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 153
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.