You are here

public function Fix404IgnoreController::__construct in Redirect 8

Constructs a Fix404Ignore object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\redirect_404\RedirectNotFoundStorageInterface $redirect_storage: A redirect storage.

File

modules/redirect_404/src/Controller/Fix404IgnoreController.php, line 39

Class

Fix404IgnoreController
Controller to ignore a path from the 'Fix 404 pages' page.

Namespace

Drupal\redirect_404\Controller

Code

public function __construct(ConfigFactoryInterface $config_factory, RedirectNotFoundStorageInterface $redirect_storage) {
  $this->configuration = $config_factory;
  $this->redirectStorage = $redirect_storage;
}