You are here

public function WebformPluginElementController::__construct in Webform 8.5

Constructs a WebformPluginElementController object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: A element info plugin manager.

\Drupal\webform\Plugin\WebformElementManagerInterface $element_manager: A webform element plugin manager.

File

src/Controller/WebformPluginElementController.php, line 51

Class

WebformPluginElementController
Controller for all webform elements.

Namespace

Drupal\webform\Controller

Code

public function __construct(ModuleHandlerInterface $module_handler, ElementInfoManagerInterface $element_info, WebformElementManagerInterface $element_manager) {
  $this->moduleHandler = $module_handler;
  $this->elementInfo = $element_info;
  $this->elementManager = $element_manager;
}