public function FormatConfigurationFormPdf::__construct in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/Form/FormatConfigurationFormPdf.php \Drupal\printable\Form\FormatConfigurationFormPdf::__construct()
Constructs a new form object.
Parameters
\Drupal\printable\PrintableEntityManagerInterface $printable_entity_manager: The printable entity manager.
\Drupal\Core\Config\ConfigFactory $configFactory: Defines the configuration object factory.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\Core\Extension\ModuleHandler $moduleHandler: The module handler service.
File
- src/
Form/ FormatConfigurationFormPdf.php, line 51
Class
- FormatConfigurationFormPdf
- Provides shared configuration form for all printable formats.
Namespace
Drupal\printable\FormCode
public function __construct(PrintableEntityManagerInterface $printable_entity_manager, ConfigFactory $configFactory, MessengerInterface $messenger, ModuleHandler $moduleHandler) {
$this->printableEntityManager = $printable_entity_manager;
$this->configFactory = $configFactory;
$this->messenger = $messenger;
$this->moduleHandler = $moduleHandler;
}