Gets the context definitions of the plugin.
Return value
array
The array of context definitions, keyed by context name.
File
- drupal/core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php, line 26
- Contains \Drupal\Component\Plugin\ContextAwarePluginInterface.
Class
- ContextAwarePluginInterface
- Interface for defining context aware plugins.
Namespace
Drupal\Component\Plugin
Code
public function getContextDefinitions();