You are here

public function LockrAdminController::__construct in Lockr 8.2

Same name and namespace in other branches
  1. 8.4 src/Controller/LockrAdminController.php \Drupal\lockr\Controller\LockrAdminController::__construct()
  2. 8.3 src/Controller/LockrAdminController.php \Drupal\lockr\Controller\LockrAdminController::__construct()
  3. 4.x src/Controller/LockrAdminController.php \Drupal\lockr\Controller\LockrAdminController::__construct()

Constructs a new LockrAdminForm.

File

src/Controller/LockrAdminController.php, line 24

Class

LockrAdminController

Namespace

Drupal\lockr\Controller

Code

public function __construct(ClientFactory $client_factory, PartnerFactory $partner_factory, ConfigFactoryInterface $config_factory, FormBuilderInterface $form_builder, $drupalRoot) {
  $this->clientFactory = $client_factory;
  $this->partnerFactory = $partner_factory;
  $this->configFactory = $config_factory;
  $this->formBuilder = $form_builder;
  $this->drupalRoot = $drupalRoot;
}