function ContextAwarePluginInterface::getContextDefinitions
Same name in this branch
- 10 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php \Drupal\Core\Plugin\ContextAwarePluginInterface::getContextDefinitions()
- 9 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()
- 8.9.x core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php \Drupal\Core\Plugin\ContextAwarePluginInterface::getContextDefinitions()
- 8.9.x core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()
- 11.x core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php \Drupal\Core\Plugin\ContextAwarePluginInterface::getContextDefinitions()
- 11.x core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()
Gets the context definitions of the plugin.
Return value
\Drupal\Core\Plugin\Context\ContextDefinitionInterface[] The array of context definitions, keyed by context name.
Overrides ContextAwarePluginInterface::getContextDefinitions
File
-
core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginInterface.php, line 23
Class
- ContextAwarePluginInterface
- An override of ContextAwarePluginInterface for documentation purposes.
Namespace
Drupal\Core\PluginCode
public function getContextDefinitions();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.