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

Go to the source code of this file.

Functions

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

Function Documentation

◆ metarefresh_hook_frontpage()

metarefresh_hook_frontpage ( $links)

Hook to add links to the frontpage.

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

Definition at line 7 of file hook_frontpage.php.

References $links, and array.

7  {
8  assert('is_array($links)');
9  assert('array_key_exists("links", $links)');
10 
11  $links['federation'][] = array(
12  'href' => SimpleSAML\Module::getModuleURL('metarefresh/fetch.php'),
13  'text' => array('en' => 'Metarefresh: fetch metadata'),
14  );
15 
16 }
Attribute-related utility methods.
Create styles array
The data for the language used.
$links