public function Context::getPluginCollections in Context 8
Same name and namespace in other branches
- 8.4 src/Entity/Context.php \Drupal\context\Entity\Context::getPluginCollections()
- 8.0 src/Entity/Context.php \Drupal\context\Entity\Context::getPluginCollections()
Gets the plugin collections used by this entity.
Return value
\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.
Overrides ObjectWithPluginCollectionInterface::getPluginCollections
File
- src/
Entity/ Context.php, line 355
Class
- Context
- Defines the Context entity.
Namespace
Drupal\context\EntityCode
public function getPluginCollections() {
return [
'reactions' => $this
->getReactions(),
'conditions' => $this
->getConditions(),
];
}