ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
hook_sanitycheck.php File Reference

Go to the source code of this file.

Functions

 sanitycheck_hook_sanitycheck (&$hookinfo)
 Hook to add the modinfo module to the frontpage. More...
 

Function Documentation

◆ sanitycheck_hook_sanitycheck()

sanitycheck_hook_sanitycheck ( $hookinfo)

Hook to add the modinfo module to the frontpage.

Parameters
array&$hookinfohookinfo

Definition at line 7 of file hook_sanitycheck.php.

References $hookinfo.

8 {
9  assert('is_array($hookinfo)');
10  assert('array_key_exists("errors", $hookinfo)');
11  assert('array_key_exists("info", $hookinfo)');
12 
13  $hookinfo['info'][] = '[sanitycheck] At least the sanity check itself is working :)';
14 }
$hookinfo
Definition: index.php:7