You are here

public function ProdCheckProcessor::setPlugin in Production check & Production monitor 8

File

src/Entity/ProdCheckProcessor.php, line 106

Class

ProdCheckProcessor
Defines the configured prod check processor entity.

Namespace

Drupal\prod_check\Entity

Code

public function setPlugin($plugin_id) {
  $this->plugin = $plugin_id;
  $this
    ->getPluginCollection()
    ->addInstanceId($plugin_id);
}