You are here

public function ProcessManager::__construct in Express 8

Constructs a new \Drupal\bootstrap\Plugin\ProcessManager object.

Parameters

\Drupal\bootstrap\Theme $theme: The theme to use for discovery.

Overrides PluginManager::__construct

File

themes/contrib/bootstrap/src/Plugin/ProcessManager.php, line 28
Contains \Drupal\bootstrap\Plugin\ProcessManager.

Class

ProcessManager
Manages discovery and instantiation of Bootstrap form process callbacks.

Namespace

Drupal\bootstrap\Plugin

Code

public function __construct(Theme $theme) {
  parent::__construct($theme, 'Plugin/Process', 'Drupal\\bootstrap\\Plugin\\Process\\ProcessInterface', 'Drupal\\bootstrap\\Annotation\\BootstrapProcess');
  $this
    ->setCacheBackend(\Drupal::cache('discovery'), 'theme:' . $theme
    ->getName() . ':process', $this
    ->getCacheTags());
}