Same name and namespace in other branches
  1. 7.x modules/system/system.module \system_hook_info()
  2. 8.9.x core/modules/system/system.module \system_hook_info()
  3. 9 core/modules/system/system.module \system_hook_info()

Implementation of hook_hook_info().

File

modules/system/system.module, line 1340
Configuration system that lets administrators modify the workings of the site.

Code

function system_hook_info() {
  return array(
    'system' => array(
      'cron' => array(
        'run' => array(
          'runs when' => t('When cron runs'),
        ),
      ),
    ),
  );
}