You are here

public function JoinService::__construct in Opigno Learning path 8

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

Constructs a new JoinService object.

File

src/JoinService.php, line 31

Class

JoinService
Class JoinService.

Namespace

Drupal\opigno_learning_path

Code

public function __construct(AccountInterface $current_user, EntityFormBuilderInterface $entity_form_builder) {
  $this->currentUser = $current_user;
  $this->entityFormBuilder = $entity_form_builder;
}