Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Action.php

function 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 113

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

protected function getPluginCollection() {
    if (!$this->pluginCollection) {
        $this->pluginCollection = new ActionPluginCollection(\Drupal::service('plugin.manager.action'), $this->plugin, $this->configuration);
    }
    return $this->pluginCollection;
}
RSS feed
Powered by Drupal