function ContextInterface::getContextDefinition
Gets the provided definition that the context must conform to.
Return value
\Drupal\Core\Plugin\Context\ContextDefinitionInterface
Overrides ContextInterface::getContextDefinition
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextInterface.php, line 21
Class
- ContextInterface
- Context data and definitions for plugins supporting caching and return docs.
Namespace
Drupal\Core\Plugin\ContextCode
public function getContextDefinition();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.