public function 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): Unique path alias identifier.
- langcode (string): The language code of the alias.
File
- core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 56
Class
- AliasStorageInterface
- Provides a class for CRUD operations on path aliases.
Namespace
Drupal\Core\PathCode
public function load($conditions);
© 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!AliasStorageInterface.php/function/AliasStorageInterface::load/8.1.x