You are here

function trigger_test_system_cron_action in Drupal 7

Action fired during the "cron run" trigger test.

1 string reference to 'trigger_test_system_cron_action'
TriggerCronTestCase::testActionsCron in modules/trigger/trigger.test
Tests assigning multiple actions to the cron trigger.

File

modules/trigger/tests/trigger_test.module, line 81
Mock module to aid in testing trigger.module.

Code

function trigger_test_system_cron_action() {

  // Indicate successful execution by setting a persistent variable.
  variable_set('trigger_test_system_cron_action', TRUE);
}