You are here

function title_test_phase_store in Title 7

Store a value for the given phase.

2 calls to title_test_phase_store()
TitleFieldReplacementTestCase::testFieldReplacementWorkflow in tests/TitleFieldReplacementTestCase.test
Test field replacement API and workflow.
title_test_phase_check in tests/title_test.module
Check the entity label at a give phase.

File

tests/title_test.module, line 74
Testing functionality for Title module.

Code

function title_test_phase_store($phase = NULL, $value = NULL) {
  $store =& drupal_static(__FUNCTION__, array());
  if (isset($phase)) {
    $store[$phase] = $value;
  }
  return $store;
}