public function AliasStorage::__construct
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\PathCode
public function __construct(Connection $connection, ModuleHandlerInterface $module_handler) { $this->connection = $connection; $this->moduleHandler = $module_handler; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Path!AliasStorage.php/function/AliasStorage::__construct/8.1.x