function ContextDefinitionInterface::getDataDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::getDataDefinition()
- 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::getDataDefinition()
- 10 core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::getDataDefinition()
Returns the data definition of the defined context.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface The data definition object.
1 method overrides ContextDefinitionInterface::getDataDefinition()
- 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/ ContextDefinitionInterface.php, line 21
Class
- ContextDefinitionInterface
- Interface to define definition objects in ContextInterface via TypedData.
Namespace
Drupal\Core\Plugin\ContextCode
public function getDataDefinition();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.