You are here

function shib_auth_get_logout_link in Shibboleth Authentication 8

Get the Shibboleth logout link.

Return value

\Drupal\Core\GeneratedLink

1 call to shib_auth_get_logout_link()
ShibbolethLoginBlock::build in src/Plugin/Block/ShibbolethLoginBlock.php
Builds and returns the renderable array for this block plugin.

File

./shib_auth.module, line 121
Contains shib_auth.module.

Code

function shib_auth_get_logout_link() {
  return Link::createFromRoute(t('Shibboleth Logout'), 'shib_auth.logout_controller_logout')
    ->toString();
}