You are here

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

Same name and namespace in other branches
  1. 2.x src/Form/FormatConfigurationFormPrint.php \Drupal\printable\Form\FormatConfigurationFormPrint::__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.

File

src/Form/FormatConfigurationFormPrint.php, line 38

Class

FormatConfigurationFormPrint
Provides shared configuration form for all printable formats.

Namespace

Drupal\printable\Form

Code

public function __construct(PrintableEntityManagerInterface $printable_entity_manager, ConfigFactory $configFactory) {
  $this->printableEntityManager = $printable_entity_manager;
  $this->configFactory = $configFactory;
}