You are here

public function AdminToolbarToolsHelper::__construct in Admin Toolbar 8.2

Same name and namespace in other branches
  1. 3.x admin_toolbar_tools/src/AdminToolbarToolsHelper.php \Drupal\admin_toolbar_tools\AdminToolbarToolsHelper::__construct()

Create an AdminToolbarToolsHelper object.

Parameters

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

File

admin_toolbar_tools/src/AdminToolbarToolsHelper.php, line 25

Class

AdminToolbarToolsHelper
Admin Toolbar Tools helper service.

Namespace

Drupal\admin_toolbar_tools

Code

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