Go to the source code of this file.
◆ statistics_hook_frontpage()
statistics_hook_frontpage |
( |
& |
$links | ) |
|
Hook to add the modinfo module to the frontpage.
- Parameters
-
array | &$links | The links on the frontpage, split into sections. |
Definition at line 7 of file hook_frontpage.php.
References $links.
10 assert(array_key_exists(
'links',
$links));
12 $links[
'config'][
'statistics'] = array(
13 'href' =>
SimpleSAML\Module::getModuleURL(
'statistics/showstats.php'),
14 'text' => array(
'en' =>
'Show statistics',
'no' =>
'Vis statistikk'),
15 'shorttext' => array(
'en' =>
'Statistics',
'no' =>
'Statistikk'),
17 $links[
'config'][
'statisticsmeta'] = array(
18 'href' =>
SimpleSAML\Module::getModuleURL(
'statistics/statmeta.php'),
19 'text' => array(
'en' =>
'Show statistics metadata',
'no' =>
'Vis statistikk metadata'),
20 'shorttext' => array(
'en' =>
'Statistics metadata',
'no' =>
'Statistikk metadata'),
Attribute-related utility methods.