public function PrintableLinkBuilder::__construct in Printer and PDF versions for Drupal 8+ 8
Same name and namespace in other branches
- 2.x src/PrintableLinkBuilder.php \Drupal\printable\PrintableLinkBuilder::__construct()
Constructs a new PrintableLinkBuilder object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory service.
\Drupal\printable\PrintableFormatPluginManager $printable_format_manager: The printable format plugin manager.
File
- src/
PrintableLinkBuilder.php, line 43
Class
- PrintableLinkBuilder
- Helper class for the printable module.
Namespace
Drupal\printableCode
public function __construct(ConfigFactoryInterface $config_factory, PrintableFormatPluginManager $printable_format_manager) {
$this->configFactory = $config_factory;
$this->printableFormatManager = $printable_format_manager;
}