You are here

function redirect_after_logout_help in Redirect after logout 8

Same name and namespace in other branches
  1. 7 redirect_after_logout.module \redirect_after_logout_help()

Implements hook_help().

File

./redirect_after_logout.module, line 16
Contains redirect_after_logout.module.

Code

function redirect_after_logout_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the redirect_after_logout module.
    case 'help.page.redirect_after_logout':
      return check_markup(file_get_contents(\Drupal::service('extension.list.module')
        ->getPath('redirect_after_logout') . "/README.txt"));
  }
}