function public function ProcessManager::__construct
8.x-3.x ProcessManager.php | public ProcessManager::__construct(Theme $theme) |
Constructs a new \Drupal\bootstrap\Plugin\ProcessManager object.
Parameters
\Drupal\bootstrap\Theme $theme: The theme to use for discovery.
Overrides PluginManager::__construct
Class
- ProcessManager
- Manages discovery and instantiation of Bootstrap form process callbacks.
Namespace
Drupal\bootstrap\PluginSource src/Plugin/ProcessManager.php (line 38)
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());
}