public function MultipleRegistrationLocalTasks::__construct in Multiple Registration 8
Same name and namespace in other branches
- 8.2 src/Plugin/Derivative/MultipleRegistrationLocalTasks.php \Drupal\multiple_registration\Plugin\Derivative\MultipleRegistrationLocalTasks::__construct()
- 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\DerivativeCode
public function __construct(AvailableUserRolesService $availableUserRolesService, $base_plugin_id) {
$this->availableUserRolesService = $availableUserRolesService;
$this->base_plugin_id = $base_plugin_id;
}