Go to the source code of this file.
◆ core_hook_frontpage()
core_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, and array.
8 assert(
'is_array($links)');
9 assert(
'array_key_exists("links", $links)');
12 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_welcome.php'),
13 'text' =>
'{core:frontpage:welcome}',
14 'shorttext' =>
'{core:frontpage:welcome}',
17 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_config.php'),
18 'text' =>
'{core:frontpage:configuration}',
19 'shorttext' =>
'{core:frontpage:configuration}',
22 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_auth.php'),
23 'text' =>
'{core:frontpage:auth}',
24 'shorttext' =>
'{core:frontpage:auth}',
27 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_federation.php'),
28 'text' =>
'{core:frontpage:federation}',
29 'shorttext' =>
'{core:frontpage:federation}',
Attribute-related utility methods.
Create styles array
The data for the language used.