You are here

function workbench_moderation_test_get in Workbench Moderation 7.3

Gets values for testing api hooks.

Parameters

$name: The name of the value to store.

Return value

string | NULL The value of the variable, if set.

1 call to workbench_moderation_test_get()
WorkbenchModerationTransitionTestCase::assertTransition in tests/workbench_moderation.transition.test
Asserts that transition values are as expected.

File

tests/workbench_moderation_test/workbench_moderation_test.module, line 94
Test module for Workbench Moderation.

Code

function workbench_moderation_test_get($name) {
  return workbench_moderation_test_set($name);
}