public function PrintableConfigurationForm::__construct in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/Form/PrintableConfigurationForm.php \Drupal\printable\Form\PrintableConfigurationForm::__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\Block\BlockManager $blockManager: Manages discovery and instantiation of block plugins.
Overrides ConfigFormBase::__construct
File
- src/
Form/ PrintableConfigurationForm.php, line 48
Class
- PrintableConfigurationForm
- Provides shared configuration form for all printable formats.
Namespace
Drupal\printable\FormCode
public function __construct(PrintableEntityManagerInterface $printable_entity_manager, ConfigFactory $configFactory, BlockManager $blockManager) {
$this->printableEntityManager = $printable_entity_manager;
$this->configFactory = $configFactory;
$this->blockManager = $blockManager;
}