You are here

public function SqlRedirectNotFoundStorage::__construct in Redirect 8

Constructs a new SqlRedirectNotFoundStorage.

Parameters

\Drupal\Core\Database\Connection $database: A Database connection to use for reading and writing database data.

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

File

modules/redirect_404/src/SqlRedirectNotFoundStorage.php, line 45

Class

SqlRedirectNotFoundStorage
Provides an SQL implementation for redirect not found storage.

Namespace

Drupal\redirect_404

Code

public function __construct(Connection $database, ConfigFactoryInterface $config_factory) {
  $this->database = $database;
  $this->configFactory = $config_factory;
}