You are here

public function AccessSettingsPageForm::__construct in Multiple Registration 8.2

Same name and namespace in other branches
  1. 3.x src/Form/AccessSettingsPageForm.php \Drupal\multiple_registration\Form\AccessSettingsPageForm::__construct()

Constructs a AccessSettingsPageForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\multiple_registration\Controller\MultipleRegistrationController $multipleRegistrationController: The multiple registration controller.

\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The cacheBackend service.

\Drupal\Core\ProxyClass\Routing\RouteBuilder $routerBuilder: The routerBuilder service.

Overrides ConfigFormBase::__construct

File

src/Form/AccessSettingsPageForm.php, line 53

Class

AccessSettingsPageForm
Class AccessSettingsPageForm.

Namespace

Drupal\multiple_registration\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, MultipleRegistrationController $multipleRegistrationController, CacheBackendInterface $cacheBackend, RouteBuilder $routerBuilder) {
  parent::__construct($config_factory);
  $this->multipleRegistrationController = $multipleRegistrationController;
  $this->cacheRender = $cacheBackend;
  $this->routeBuilder = $routerBuilder;
}