public function WebformAddonsController::__construct in Webform 8.5
Constructs a WebformAddonsController object.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\Drupal\webform\WebformThemeManagerInterface $theme_manager: The webform theme manager.
\Drupal\webform\WebformAddonsManagerInterface $addons: The webform add-ons manager.
File
- src/
Controller/ WebformAddonsController.php, line 50
Class
- WebformAddonsController
- Provides route responses for Webform add-ons.
Namespace
Drupal\webform\ControllerCode
public function __construct(RequestStack $request_stack, WebformThemeManagerInterface $theme_manager, WebformAddonsManagerInterface $addons) {
$this->request = $request_stack
->getCurrentRequest();
$this->themeManager = $theme_manager;
$this->addons = $addons;
}