You are here

protected function ProdCheck::getPluginCollection in Production check & Production monitor 8

Encapsulates the creation of the action's LazyPluginCollection.

Return value

\Drupal\Component\Plugin\LazyPluginCollection The action's plugin collection.

1 call to ProdCheck::getPluginCollection()
ProdCheck::getPluginCollections in src/Entity/ProdCheck.php
Gets the plugin collections used by this object.

File

src/Entity/ProdCheck.php, line 87

Class

ProdCheck
Defines the configured prod check entity.

Namespace

Drupal\prod_check\Entity

Code

protected function getPluginCollection() {
  if (!$this->pluginCollection) {
    $this->pluginCollection = new CheckPluginCollection(\Drupal::service('plugin.manager.prod_check'), $this->plugin, $this->configuration);
  }
  return $this->pluginCollection;
}