You are here

public function MultipleRegistrationLocalTasks::__construct in Multiple Registration 8

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

MultipleRegistrationLocalTasks constructor.

Parameters

\Drupal\multiple_registration\AvailableUserRolesService $availableUserRolesService: AvailableUserRolesService service.

string $base_plugin_id: Base plugin id.

File

src/Plugin/Derivative/MultipleRegistrationLocalTasks.php, line 32

Class

MultipleRegistrationLocalTasks
Defines dynamic local tasks.

Namespace

Drupal\multiple_registration\Plugin\Derivative

Code

public function __construct(AvailableUserRolesService $availableUserRolesService, $base_plugin_id) {
  $this->availableUserRolesService = $availableUserRolesService;
  $this->base_plugin_id = $base_plugin_id;
}