You are here

public function UserLocalTask::__construct in Profile 8

Constructs a new UserLocalTask.

Parameters

string $base_plugin_definition: The base plugin definition.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Plugin/Derivative/UserLocalTask.php, line 30

Class

UserLocalTask
Provides a user page local task for each profile type.

Namespace

Drupal\profile\Plugin\Derivative

Code

public function __construct($base_plugin_definition, EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}