public function ContextDefinitionInterface::getDataDefinition in Drupal 8
Same name and namespace in other branches
- 9 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();