You are here

public function OgLocalTask::__construct in Organic groups 8

Creates an OgLocalTask object.

Parameters

\Drupal\og\GroupTypeManagerInterface $group_type_manager: The group type manager.

\Drupal\Core\Routing\RouteProvider $route_provider: The route provider services.

File

src/Plugin/Derivative/OgLocalTask.php, line 43

Class

OgLocalTask
Provides local task definitions for all entity bundles.

Namespace

Drupal\og\Plugin\Derivative

Code

public function __construct(GroupTypeManagerInterface $group_type_manager, RouteProvider $route_provider) {
  $this->groupTypeManager = $group_type_manager;
  $this->routProvider = $route_provider;
}