You are here

public function PanelsBreadcrumbBuilder::__construct in Panels Breadcrumbs 8

PanelsBreadcrumbManager constructor.

File

src/Breadcrumb/PanelsBreadcrumbBuilder.php, line 65

Class

PanelsBreadcrumbBuilder
Class PanelsBreadcrumbBuilder.

Namespace

Drupal\panels_breadcrumbs\Breadcrumb

Code

public function __construct(RouteProviderInterface $route_provider, TokenInterface $token, AccessManagerInterface $access_manager, RequestMatcherInterface $router, AccountInterface $current_user) {
  $this->routeProvider = $route_provider;
  $this->token = $token;
  $this->accessManager = $access_manager;
  $this->router = $router;
  $this->currentUser = $current_user;
}