You are here

function _uuid_path_url_alias_load in Universally Unique IDentifier 7

Loads all aliases associated with a path.

Parameters

string $path: The source path to look up.

Return value

array Array of paths or NULL if none found.

1 call to _uuid_path_url_alias_load()
_uuid_path_load_url_aliases in uuid_path/uuid_path.module
Loads url aliases in the corresponding entity.

File

uuid_path/uuid_path.module, line 86
UUID path module functions.

Code

function _uuid_path_url_alias_load($path) {
  return db_select('url_alias')
    ->condition('source', $path)
    ->fields('url_alias')
    ->execute()
    ->fetchAll(PDO::FETCH_OBJ);
}