1 token.test TokenTestHelper::saveAlias($source, $alias, $language = LANGUAGE_NONE)

File

core/modules/simpletest/tests/token.test, line 243
Test integration for the token module.

Class

TokenTestHelper
Helper test class with some added functions for testing.

Code

function saveAlias($source, $alias, $language = LANGUAGE_NONE) {
  $alias = array(
    'source' => $source,
    'alias' => $alias,
    'language' => $language,
  );
  path_save($alias);
  return $alias;
}