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

Go to the source code of this file.

Functions

 consentAdmin_hook_frontpage (&$links)
 Hook to add the consentAdmin module to the frontpage. More...
 

Function Documentation

◆ consentAdmin_hook_frontpage()

consentAdmin_hook_frontpage ( $links)

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

7  {
8  assert(is_array($links));
9  assert(array_key_exists('links', $links));
10 
11  $links['config'][] = array(
12  'href' => SimpleSAML\Module::getModuleURL('consentAdmin/consentAdmin.php'),
13  'text' => '{consentAdmin:consentadmin:consentadmin_header}',
14  );
15 }
Attribute-related utility methods.
$links