You are here

public function MenuLinksAction::__construct in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x modules/entity_extra_field_ui/src/Plugin/Derivative/MenuLinksAction.php \Drupal\entity_extra_field_ui\Plugin\Derivative\MenuLinksAction::__construct()

Menu links task constructor.

Parameters

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

File

modules/entity_extra_field_ui/src/Plugin/Derivative/MenuLinksAction.php, line 29

Class

MenuLinksAction
Define menu links action derivative.

Namespace

Drupal\entity_extra_field_ui\Plugin\Derivative

Code

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