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

Go to the source code of this file.

Functions

 sanitycheck_hook_frontpage (&$links)
 Hook to add the modinfo module to the frontpage. More...
 

Function Documentation

◆ sanitycheck_hook_frontpage()

sanitycheck_hook_frontpage ( $links)

Hook to add the modinfo module 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.

8 {
9  assert('is_array($links)');
10  assert('array_key_exists("links", $links)');
11 
12  $links['config']['santitycheck'] = array(
13  'href' => SimpleSAML\Module::getModuleURL('sanitycheck/index.php'),
14  'text' => array('en' => 'Sanity check of your SimpleSAMLphp setup'),
15  'shorttext' => array('en' => 'SanityCheck'),
16  );
17 }
Attribute-related utility methods.
Create styles array
The data for the language used.
$links