You are here

function path_redirect_load in Path redirect 6

Same name and namespace in other branches
  1. 5 path_redirect.module \path_redirect_load()

Load a redirect by ID.

Parameters

$rid: An integer with the redirect ID.

4 calls to path_redirect_load()
PathRedirectFunctionalTest::testInactivePurging in ./path_redirect.test
PathRedirectTestHelper::addRedirect in ./path_redirect.test
PathRedirectTestHelper::assertRedirect in ./path_redirect.test
path_redirect_goto in ./path_redirect.module

File

./path_redirect.module, line 365

Code

function path_redirect_load($rid) {
  $redirect = path_redirect_load_multiple(array(
    $rid,
  ));
  return $redirect ? reset($redirect) : FALSE;
}