1 common_test_cron_helper.module common_test_cron_helper_cron()

Implements hook_cron().

common_test_cron() throws an exception, but the execution should reach this function as well.

See also

common_test_cron()

File

core/modules/simpletest/tests/common_test_cron_helper.module, line 15
Helper module for the testCronExceptions in addition to common_test module.

Code

function common_test_cron_helper_cron() {
  state_set('common_test_cron', 'success');
}