You are here

public function PrintableCssInclude::__construct in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x 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\printable

Code

public function __construct(ConfigFactoryInterface $config_factory, ThemeHandlerInterface $theme_handler) {
  $this->configFactory = $config_factory;
  $this->themeHandler = $theme_handler;
}