public function AnonymousMenuLinkTreeManipulator::__construct in footermap: a footer site map 8
Constructs a \Drupal\Core\Menu\DefaultMenuLinkTreeManipulators object.
Parameters
\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager.
\Drupal\Core\Session\AccountInterface $account: The current user.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity_type.manager service.
File
- src/
Menu/ AnonymousMenuLinkTreeManipulator.php, line 60
Class
- AnonymousMenuLinkTreeManipulator
- Provides an anonymous-based menu link tree manipulator.
Namespace
Drupal\footermap\MenuCode
public function __construct(AccessManagerInterface $access_manager, AccountInterface $account, EntityTypeManagerInterface $entityTypeManager) {
$this->accessManager = $access_manager;
$this->account = $account;
$this->entityTypeManager = $entityTypeManager;
}