ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
hook_moduleinfo.php
Go to the documentation of this file.
1 <?php
7 function sanitycheck_hook_moduleinfo(&$moduleinfo)
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 }
sanitycheck_hook_moduleinfo(&$moduleinfo)
This hook lets the module describe itself.