You are here

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

Returns the operation plugin.

Return value

\Drupal\prod_check\Plugin\ProdCheckInterface

Overrides ProdCheckConfigInterface::getPlugin

1 call to ProdCheck::getPlugin()
ProdCheck::isConfigurable in src/Entity/ProdCheck.php
Returns whether or not this processor is configurable.

File

src/Entity/ProdCheck.php, line 104

Class

ProdCheck
Defines the configured prod check entity.

Namespace

Drupal\prod_check\Entity

Code

public function getPlugin() {
  return $this
    ->getPluginCollection()
    ->get($this->plugin);
}