You are here

public function CreateRegistrationPageForm::__construct in Multiple Registration 8

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

Constructs a CreateRegistrationPageForm 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/CreateRegistrationPageForm.php, line 36

Class

CreateRegistrationPageForm
Class CreateRegistrationPageForm.

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;
}