You are here

function trigger_test_generic_any_action in Drupal 7

Action fired during the additional trigger tests.

2 string references to 'trigger_test_generic_any_action'
TriggerContentTestCase::testActionContentMultiple in modules/trigger/trigger.test
Tests multiple node actions.
TriggerOrphanedActionsTestCase::testActionsOrphaned in modules/trigger/trigger.test
Tests logic around orphaned actions.

File

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

Code

function trigger_test_generic_any_action($context) {

  // Indicate successful execution by setting a persistent variable.
  variable_set('trigger_test_generic_any_action', variable_get('trigger_test_generic_any_action', 0) + 1);
}