public function WebformAttachmentController::__construct in Webform 8.5
Constructs a WebformAttachmentController object.
Parameters
\Drupal\Core\Render\ElementInfoManagerInterface $element_info: The element info manager.
\Drupal\webform\Plugin\WebformElementManagerInterface $element_manager: A webform element plugin manager.
File
- modules/
webform_attachment/ src/ Controller/ WebformAttachmentController.php, line 45
Class
- WebformAttachmentController
- Defines a controller to return a webform attachment.
Namespace
Drupal\webform_attachment\ControllerCode
public function __construct(ElementInfoManagerInterface $element_info, WebformElementManagerInterface $element_manager) {
$this->elementInfo = $element_info;
$this->elementManager = $element_manager;
}