function trigger_test_system_cron_action

7.x trigger_test.module trigger_test_system_cron_action()

Action fired during the "cron run" trigger test.

2 string references to 'trigger_test_system_cron_action'
TriggerCronTestCase::testActionsCron in drupal-7.x/modules/trigger/trigger.test
Tests assigning multiple actions to the cron trigger.
trigger_test_action_info in drupal-7.x/modules/trigger/tests/trigger_test.module
Implements hook_action_info().

File

drupal-7.x/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);
}