ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
hook_frontpage.php File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ cron_hook_frontpage()

cron_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.

7 {
8 assert(is_array($links));
9 assert(array_key_exists('links', $links));
10
11 $links['config'][] = array(
12 'href' => SimpleSAML\Module::getModuleURL('cron/croninfo.php'),
13 'text' => array('en' => 'Cron module information page'),
14 );
15
16}
$links
Attribute-related utility methods.

References $links.