function trigger_test_generic_action

Action fired during the "taxonomy", "comment", and "user" trigger tests.

3 string references to 'trigger_test_generic_action'
TriggerOtherTestCase::testActionsComment in modules/trigger/trigger.test
Tests triggering on comment save.
TriggerOtherTestCase::testActionsTaxonomy in modules/trigger/trigger.test
Tests triggering on taxonomy new term.
TriggerOtherTestCase::testActionsUser in modules/trigger/trigger.test
Tests triggering on user create and user login.

File

modules/trigger/tests/trigger_test.module, line 125

Code

function trigger_test_generic_action($context) {
    // Indicate successful execution by setting a persistent variable.
    variable_set('trigger_test_generic_action', TRUE);
}

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