AliasStorageInterface::preloadPathAlias

public AliasStorageInterface::preloadPathAlias($preloaded, $langcode) Pre-loads path alias information for a given list of source paths. Parameters array $preloaded: Paths that need preloading of aliases. string $langcode: Language code to search the path with. If there's no path defined for that language it will search paths without language. Return value string[] Source (keys) to alias (values) mapping. File core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 81 Class AliasStorage

AliasStorageInterface::languageAliasExists

public AliasStorageInterface::languageAliasExists() Checks if there are any aliases with language defined. Return value bool TRUE if aliases with language exist. File core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 141 Class AliasStorageInterface Provides a class for CRUD operations on path aliases. Namespace Drupal\Core\Path Code public function languageAliasExists();

AliasStorageInterface::getAliasesForAdminListing

public AliasStorageInterface::getAliasesForAdminListing($header, $keys = NULL) Loads aliases for admin listing. Parameters array $header: Table header. string|null $keys: (optional) Search keyword that may include one or more '*' as wildcard values. Return value array Array of items to be displayed on the current page. File core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 155 Class AliasStorageInterface Provides a class for CRUD operations on path aliases. Namespace Drupal\Co

AliasStorageInterface::lookupPathSource

public AliasStorageInterface::lookupPathSource($path, $langcode) Returns Drupal system URL of an alias. The default implementation performs case-insensitive matching on the 'source' and 'alias' strings. Parameters string $path: The path to investigate for corresponding system URLs. string $langcode: Language code to search the path with. If there's no path defined for that language it will search paths without language. Return value string|false A Drupal system path, or FALSE if no path was f

AliasStorageInterface::lookupPathAlias

public AliasStorageInterface::lookupPathAlias($path, $langcode) Returns an alias of Drupal system URL. The default implementation performs case-insensitive matching on the 'source' and 'alias' strings. Parameters string $path: The path to investigate for corresponding path aliases. string $langcode: Language code to search the path with. If there's no path defined for that language it will search paths without language. Return value string|false A path alias, or FALSE if no path was found. Fi

AliasStorageInterface::load

public AliasStorageInterface::load($conditions) Fetches a specific URL alias from the database. The default implementation performs case-insensitive matching on the 'source' and 'alias' strings. Parameters array $conditions: An array of query conditions. Return value array|false FALSE if no alias was found or an associative array containing the following keys: source (string): The internal system path with a starting slash. alias (string): The URL alias with a starting slash. pid (int): Un

AliasStorageInterface::delete

public AliasStorageInterface::delete($conditions) Deletes a URL alias. The default implementation performs case-insensitive matching on the 'source' and 'alias' strings. Parameters array $conditions: An array of criteria. File core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 67 Class AliasStorageInterface Provides a class for CRUD operations on path aliases. Namespace Drupal\Core\Path Code public function delete($conditions);

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

AliasStorageInterface::aliasExists

public AliasStorageInterface::aliasExists($alias, $langcode, $source = NULL) Checks if alias already exists. The default implementation performs case-insensitive matching on the 'source' and 'alias' strings. Parameters string $alias: Alias to check against. string $langcode: Language of the alias. string|null $source: (optional) Path that alias is to be assigned to. Return value bool TRUE if alias already exists and FALSE otherwise. File core/lib/Drupal/Core/Path/AliasStorageInterface.php, li

AliasStorageInterface

Provides a class for CRUD operations on path aliases. Hierarchy interface \Drupal\Core\Path\AliasStorageInterface File core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 10 Namespace Drupal\Core\Path Members Name Modifiers Type Description AliasStorageInterface::aliasExists public function Checks if alias already exists. AliasStorageInterface::delete public function Deletes a URL alias. AliasStorageInterface::getAliasesForAdminListing public function