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\Path

Code

public function __construct(Connection $connection, ModuleHandlerInterface $module_handler) {
  $this->connection = $connection;
  $this->moduleHandler = $module_handler;
}
doc_Drupal
2016-10-29 08:44:16
Comments
Leave a Comment

Please login to continue.