function DefaultMenuLinkTreeManipulators::__construct
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 $entity_type_manager: The entity type manager.
File
- 
              core/lib/ Drupal/ Core/ Menu/ DefaultMenuLinkTreeManipulators.php, line 53 
Class
- DefaultMenuLinkTreeManipulators
- Provides a couple of menu link tree manipulators.
Namespace
Drupal\Core\MenuCode
public function __construct(AccessManagerInterface $access_manager, AccountInterface $account, EntityTypeManagerInterface $entity_type_manager) {
  $this->accessManager = $access_manager;
  $this->account = $account;
  $this->entityTypeManager = $entity_type_manager;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
