You are here

protected function ProdCheckProcessor::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 ProdCheckProcessor::getPluginCollection()
ProdCheckProcessor::getPluginCollections in src/Entity/ProdCheckProcessor.php
Gets the plugin collections used by this object.

File

src/Entity/ProdCheckProcessor.php, line 82

Class

ProdCheckProcessor
Defines the configured prod check processor entity.

Namespace

Drupal\prod_check\Entity

Code

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