public function RedirectRepository::__construct in Multiversion 8
Constructs a \Drupal\redirect\EventSubscriber\RedirectRequestSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $manager: The entity type manager.
\Drupal\Core\Database\Connection $connection: The database connection.
Overrides RedirectRepository::__construct
File
- src/
Redirect/ RedirectRepository.php, line 32
Class
Namespace
Drupal\multiversion\RedirectCode
public function __construct(EntityManagerInterface $manager, Connection $connection, ConfigFactoryInterface $config_factory, WorkspaceManagerInterface $workspace_manager, StateInterface $state) {
parent::__construct($manager, $connection, $config_factory);
$this->workspaceManager = $workspace_manager;
$this->state = $state;
}