You are here

public function LearningPathContentController::__construct in Opigno Learning path 8

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

File

src/Controller/LearningPathContentController.php, line 39

Class

LearningPathContentController
Controller for all the actions of the Learning Path content.

Namespace

Drupal\opigno_learning_path\Controller

Code

public function __construct(OpignoGroupContentTypesManager $content_types_manager, AccountProxy $current_account) {
  $this->content_types_manager = $content_types_manager;
  $this->currentUser = $current_account;
}