You are here

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

File

src/Entity/ProdCheck.php, line 111

Class

ProdCheck
Defines the configured prod check entity.

Namespace

Drupal\prod_check\Entity

Code

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