function trigger_test_system_cron_conf_action

7.x trigger_test.module trigger_test_system_cron_conf_action($object, $context)

Implement a configurable Drupal action.

2 string references to 'trigger_test_system_cron_conf_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 89
Mock module to aid in testing trigger.module.

Code

function trigger_test_system_cron_conf_action($object, $context) {
  // Indicate successful execution by incrementing a persistent variable.
  $value = variable_get('trigger_test_system_cron_conf_action', 0) + 1;
  variable_set('trigger_test_system_cron_conf_action', $value);
}