You are here

public function Settings::__construct in Courier 2.x

Same name in this branch
  1. 2.x src/Form/Settings.php \Drupal\courier\Form\Settings::__construct()
  2. 2.x courier_system/src/Form/Settings.php \Drupal\courier_system\Form\Settings::__construct()
Same name and namespace in other branches
  1. 8 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\courier\Service\CourierManagerInterface $courier_manager: The courier manager.

Overrides ConfigFormBase::__construct

File

courier_system/src/Form/Settings.php, line 35

Class

Settings
Configure Courier System settings.

Namespace

Drupal\courier_system\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, CourierManagerInterface $courier_manager) {
  parent::__construct($config_factory);
  $this->courierManager = $courier_manager;
}