public AliasStorage::__construct(Connection $connection, ModuleHandlerInterface $module_handler)
Constructs a Path CRUD object.
Parameters
\Drupal\Core\Database\Connection $connection: A database connection for reading and writing path aliases.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- core/lib/Drupal/Core/Path/AliasStorage.php, line 48
Class
- AliasStorage
- Provides a class for CRUD operations on path aliases.
Namespace
Drupal\Core\Path
Code
public function __construct(Connection $connection, ModuleHandlerInterface $module_handler) { $this->connection = $connection; $this->moduleHandler = $module_handler; }
Please login to continue.