public function AssetCollector::__construct in Entity Print 8.2
AssetCollector constructor.
Parameters
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.
\Drupal\Core\Extension\InfoParserInterface $info_parser: The info parser.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.
File
- src/
Asset/ AssetCollector.php, line 48
Class
- AssetCollector
- Collect the assets for the entities being printed.
Namespace
Drupal\entity_print\AssetCode
public function __construct(ThemeHandlerInterface $theme_handler, InfoParserInterface $info_parser, EventDispatcherInterface $event_dispatcher) {
$this->themeHandler = $theme_handler;
$this->infoParser = $info_parser;
$this->dispatcher = $event_dispatcher;
}