ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
hook_frontpage.php File Reference

Go to the source code of this file.

Functions

 oauth_hook_frontpage (&$links)
 Hook to add link to the frontpage. More...
 

Function Documentation

◆ oauth_hook_frontpage()

oauth_hook_frontpage ( $links)

Hook to add link to the frontpage.

Parameters
array&$linksThe links on the frontpage, split into sections.

Definition at line 7 of file hook_frontpage.php.

7 {
8 assert('is_array($links)');
9 assert('array_key_exists("links", $links)');
10
11 $links['federation']['oauthregistry'] = array(
12 'href' => SimpleSAML\Module::getModuleURL('oauth/registry.php'),
13 'text' => array('en' => 'OAuth Consumer Registry'),
14 'shorttext' => array('en' => 'OAuth Registry'),
15 );
16
17}
$links
Attribute-related utility methods.

References $links.