You are here

public function EntityActionsDeriver::__construct in Entity API 8

Constructs an entity local actions deriver.

Parameters

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

File

src/Plugin/Derivative/EntityActionsDeriver.php, line 28

Class

EntityActionsDeriver
Derives local actions for entity types.

Namespace

Drupal\entity\Plugin\Derivative

Code

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