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'),
An exception for terminatinating execution or to throw for unit testing.
sanitycheck_hook_moduleinfo(&$moduleinfo)
This hook lets the module describe itself.