function Action::getPluginCollection
Same name in other branches
- 9 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPluginCollection()
- 10 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPluginCollection()
- 11.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPluginCollection()
Encapsulates the creation of the action's LazyPluginCollection.
Return value
\Drupal\Component\Plugin\LazyPluginCollection The action's plugin collection.
1 call to Action::getPluginCollection()
- Action::getPluginCollections in core/
modules/ system/ src/ Entity/ Action.php
File
-
core/
modules/ system/ src/ Entity/ Action.php, line 89
Class
- Action
- Defines the configured action entity.
Namespace
Drupal\system\EntityCode
protected function getPluginCollection() {
if (!$this->pluginCollection) {
$this->pluginCollection = new ActionPluginCollection(\Drupal::service('plugin.manager.action'), $this->plugin, $this->configuration);
}
return $this->pluginCollection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.