9 assert(is_array($moduleinfo));
10 assert(array_key_exists(
'info', $moduleinfo));
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.'),
16 'dependencies' => array(
'core'),
17 'uses' => array(
'cron'),
sanitycheck_hook_moduleinfo(&$moduleinfo)
This hook lets the module describe itself.