You are here

public function LogoutController::logoutErrorPage in Shibboleth Authentication 8

Error page for logout.

Return value

array A renderable array.

1 string reference to 'LogoutController::logoutErrorPage'
shib_auth.routing.yml in ./shib_auth.routing.yml
shib_auth.routing.yml

File

src/Controller/LogoutController.php, line 73

Class

LogoutController
Class LogoutController.

Namespace

Drupal\shib_auth\Controller

Code

public function logoutErrorPage() {

  // Get shibboleth advanced config settings.
  $adv_config = \Drupal::config('shib_auth.advancedsettings');
  return [
    '#type' => 'markup',
    '#markup' => $adv_config
      ->get('logout_error_message'),
  ];
}