function trigger_test_generic_any_action

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

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.