You are here

CheckPluginCollection.php in Production check & Production monitor 8

Namespace

Drupal\prod_check

File

src/CheckPluginCollection.php
View source
<?php

namespace Drupal\prod_check;

use Drupal\Core\Plugin\DefaultSingleLazyPluginCollection;

/**
 * Provides a container for lazily loading prod check plugins.
 */
class CheckPluginCollection extends DefaultSingleLazyPluginCollection {

  /**
   * {@inheritdoc}
   *
   * @return \Drupal\prod_check\Plugin\ProdCheckInterface
   */
  public function &get($instance_id) {
    return parent::get($instance_id);
  }

}

Classes

Namesort descending Description
CheckPluginCollection Provides a container for lazily loading prod check plugins.