public function ContextDefinitionInterface::getDataType in Service Container 7.2
Same name and namespace in other branches
- 7 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.
File
- lib/
Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 62 - Contains \Drupal\Component\Plugin\Context\ContextDefinitionInterface.
Class
- ContextDefinitionInterface
- Interface for context definitions.
Namespace
Drupal\Component\Plugin\ContextCode
public function getDataType();