public function ContextAwarePluginInterface::getContextDefinitions in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()
Gets the context definitions of the plugin.
Return value
\Drupal\Component\Plugin\Context\ContextDefinitionInterface[] The array of context definitions, keyed by context name.
1 method overrides ContextAwarePluginInterface::getContextDefinitions()
- ContextAwarePluginBase::getContextDefinitions in lib/
Drupal/ Component/ Plugin/ ContextAwarePluginBase.php - Gets the context definitions of the plugin.
File
- lib/
Drupal/ Component/ Plugin/ ContextAwarePluginInterface.php, line 28 - Contains \Drupal\Component\Plugin\ContextAwarePluginInterface.
Class
- ContextAwarePluginInterface
- Interface for defining context aware plugins.
Namespace
Drupal\Component\PluginCode
public function getContextDefinitions();