You are here

public function RedirectChecker::__construct in Redirect 8

File

src/RedirectChecker.php, line 43

Class

RedirectChecker
Redirect checker class.

Namespace

Drupal\redirect

Code

public function __construct(ConfigFactoryInterface $config, StateInterface $state, AccessManager $access_manager, AccountInterface $account, RouteProviderInterface $route_provider) {
  $this->config = $config
    ->get('redirect.settings');
  $this->accessManager = $access_manager;
  $this->state = $state;
  $this->account = $account;
  $this->routeProvider = $route_provider;
}