public function Settings::__construct in Courier 8
Same name in this branch
- 8 src/Form/Settings.php \Drupal\courier\Form\Settings::__construct()
- 8 courier_system/src/Form/Settings.php \Drupal\courier_system\Form\Settings::__construct()
Same name and namespace in other branches
- 2.x courier_system/src/Form/Settings.php \Drupal\courier_system\Form\Settings::__construct()
Constructs a configuration form.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\courier\Service\CourierManagerInterface $courier_manager: The courier manager.
Overrides ConfigFormBase::__construct
File
- courier_system/
src/ Form/ Settings.php, line 45
Class
- Settings
- Configure Courier System settings.
Namespace
Drupal\courier_system\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager, CourierManagerInterface $courier_manager) {
parent::__construct($config_factory);
$this->entityManager = $entity_manager;
$this->courierManager = $courier_manager;
}