You are here

public function WebformPluginVariantController::__construct in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Controller/WebformPluginVariantController.php \Drupal\webform\Controller\WebformPluginVariantController::__construct()

Constructs a WebformPluginVariantController object.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $plugin_manager: A webform variant plugin manager.

File

src/Controller/WebformPluginVariantController.php, line 33

Class

WebformPluginVariantController
Controller for all webform variants.

Namespace

Drupal\webform\Controller

Code

public function __construct(PluginManagerInterface $plugin_manager) {
  $this->pluginManager = $plugin_manager;
}