You are here

function redirect_repository in Redirect 8

Gets the redirect repository service.

Return value

\Drupal\redirect\RedirectRepository The repository service.

File

./redirect.module, line 158
The redirect module.

Code

function redirect_repository() {
  return \Drupal::service('redirect.repository');
}