public function ContextDefinitionInterface::getDataType in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::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.
1 method overrides ContextDefinitionInterface::getDataType()
- ContextDefinition::getDataType in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Gets the data type needed by the context.
File
- core/
lib/ Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 59
Class
- ContextDefinitionInterface
- Interface used to define definition objects found in ContextInterface.
Namespace
Drupal\Component\Plugin\ContextCode
public function getDataType();