public function WebformPluginVariantController::__construct in Webform 8.5
Same name and namespace in other branches
- 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\ControllerCode
public function __construct(PluginManagerInterface $plugin_manager) {
$this->pluginManager = $plugin_manager;
}