You are here

function trigger_test_generic_action in Drupal 7

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
Mock module to aid in testing trigger.module.

Code

function trigger_test_generic_action($context) {

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