You are here

public function FormassemblyHtmlResponseAttachmentsProcessor::__construct in FormAssembly 8

Constructs a DfpResponseAttachmentsProcessor object.

Parameters

\Drupal\Core\Render\AttachmentsResponseProcessorInterface $html_response_attachments_processor: The HTML response attachments processor service.

\Drupal\Core\Asset\AssetResolverInterface $asset_resolver: An asset resolver.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.

\Drupal\Core\Asset\AssetCollectionRendererInterface $css_collection_renderer: The CSS asset collection renderer.

\Drupal\Core\Asset\AssetCollectionRendererInterface $js_collection_renderer: The JS asset collection renderer.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

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

Overrides HtmlResponseAttachmentsProcessor::__construct

File

src/Component/Render/FormassemblyHtmlResponseAttachmentsProcessor.php, line 69

Class

FormassemblyHtmlResponseAttachmentsProcessor
Processes attachments of HTML responses with fa_form attachments.

Namespace

Drupal\formassembly\Component\Render

Code

public function __construct(AttachmentsResponseProcessorInterface $html_response_attachments_processor, AssetResolverInterface $asset_resolver, ConfigFactoryInterface $config_factory, AssetCollectionRendererInterface $css_collection_renderer, AssetCollectionRendererInterface $js_collection_renderer, RequestStack $request_stack, RendererInterface $renderer, ModuleHandlerInterface $module_handler) {
  $this->htmlResponseAttachmentsProcessor = $html_response_attachments_processor;
  $this->configFactory = $config_factory;
  parent::__construct($asset_resolver, $config_factory, $css_collection_renderer, $js_collection_renderer, $request_stack, $renderer, $module_handler);
}