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

Go to the source code of this file.

Functions

 sanitycheck_hook_moduleinfo (&$moduleinfo)
 This hook lets the module describe itself. More...
 

Function Documentation

◆ sanitycheck_hook_moduleinfo()

sanitycheck_hook_moduleinfo ( $moduleinfo)

This hook lets the module describe itself.

Parameters
array&$moduleinfoThe links on the frontpage, split into sections.

Definition at line 7 of file hook_moduleinfo.php.

8 {
9  assert(is_array($moduleinfo));
10  assert(array_key_exists('info', $moduleinfo));
11 
12  $moduleinfo['info']['sanitycheck'] = array(
13  'name' => array('en' => 'Sanity check'),
14  'description' => array('en' => 'This module adds functionality for other modules to provide santity checks.'),
15 
16  'dependencies' => array('core'),
17  'uses' => array('cron'),
18  );
19 }