Hook to add the modinfo module to the frontpage.
7 {
8 assert('is_array($links)');
9 assert('array_key_exists("links", $links)');
10
11 $links[
'links'][
'frontpage_welcome'] = array(
12 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_welcome.php'),
13 'text' => '{core:frontpage:welcome}',
14 'shorttext' => '{core:frontpage:welcome}',
15 );
16 $links[
'links'][
'frontpage_config'] = array(
17 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_config.php'),
18 'text' => '{core:frontpage:configuration}',
19 'shorttext' => '{core:frontpage:configuration}',
20 );
21 $links[
'links'][
'frontpage_auth'] = array(
22 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_auth.php'),
23 'text' => '{core:frontpage:auth}',
24 'shorttext' => '{core:frontpage:auth}',
25 );
26 $links[
'links'][
'frontpage_federation'] = array(
27 'href' =>
SimpleSAML\Module::getModuleURL(
'core/frontpage_federation.php'),
28 'text' => '{core:frontpage:federation}',
29 'shorttext' => '{core:frontpage:federation}',
30 );
31
32}
Attribute-related utility methods.