You are here

public function CivicrmEntityMenuLink::__construct in CiviCRM Entity 8.3

Constructs a CivicrmEntityLocalAction object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.

File

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

Class

CivicrmEntityMenuLink
Provides local action definitions for all CiviCRM entity definitions.

Namespace

Drupal\civicrm_entity\Plugin\Derivative

Code

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