public function ContextDefinition::getDataType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::getDataType()
Gets the data type needed by the context.
If the context is multiple-valued, this represents the type of each value.
Return value
string The data type.
Overrides ContextDefinitionInterface::getDataType
1 call to ContextDefinition::getDataType()
- ContextDefinition::getDataDefinition in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Returns the data definition of the defined context.
File
- core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php, line 116 - Contains \Drupal\Core\Plugin\Context\ContextDefinition.
Class
- ContextDefinition
- Defines a class for context definitions.
Namespace
Drupal\Core\Plugin\ContextCode
public function getDataType() {
return $this->dataType;
}