You are here

public function LearningPathMembershipController::__construct in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x src/Controller/LearningPathMembershipController.php \Drupal\opigno_learning_path\Controller\LearningPathMembershipController::__construct()

LearningPathMembershipController constructor.

File

src/Controller/LearningPathMembershipController.php, line 42

Class

LearningPathMembershipController
Controller for the actions related to LP membership.

Namespace

Drupal\opigno_learning_path\Controller

Code

public function __construct(Connection $connection, FormBuilderInterface $formBuilder) {
  $this->connection = $connection;
  $this->formBuilder = $formBuilder;
}