public function PrintableCssInclude::__construct in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/PrintableCssInclude.php \Drupal\printable\PrintableCssInclude::__construct()
Constructs a new PrintableCssInclude object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory service.
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler service.
File
- src/
PrintableCssInclude.php, line 35
Class
- PrintableCssInclude
- Helper class for the printable module.
Namespace
Drupal\printableCode
public function __construct(ConfigFactoryInterface $config_factory, ThemeHandlerInterface $theme_handler) {
$this->configFactory = $config_factory;
$this->themeHandler = $theme_handler;
}