public function AdminToolbarToolsHelper::__construct in Admin Toolbar 3.x
Same name and namespace in other branches
- 8.2 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_toolsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}