public function ContextAwarePluginDefinitionTrait::getContextDefinitions in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionTrait::getContextDefinitions()
Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::getContextDefinitions().
File
- core/
lib/ Drupal/ Component/ Plugin/ Definition/ ContextAwarePluginDefinitionTrait.php, line 30
Class
- ContextAwarePluginDefinitionTrait
- Provides a trait for context-aware object-based plugin definitions.
Namespace
Drupal\Component\Plugin\DefinitionCode
public function getContextDefinitions() {
return $this->contextDefinitions;
}