function PathautoTestHelper::deleteAllAliases in Pathauto 7
Same name and namespace in other branches
- 6.2 pathauto.test \PathautoTestHelper::deleteAllAliases()
- 6 pathauto.test \PathautoTestHelper::deleteAllAliases()
4 calls to PathautoTestHelper::deleteAllAliases()
- PathautoBulkUpdateTestCase::testBulkUpdate in ./
pathauto.test - PathautoFunctionalTestCase::testNodeOperations in ./
pathauto.test - Test node operations.
- PathautoFunctionalTestCase::testUserOperations in ./
pathauto.test - Test user operations.
- PathautoUnitTestCase::testUpdateActions in ./
pathauto.test - Test the different update actions in pathauto_create_alias().
File
- ./
pathauto.test, line 84 - Functionality tests for Pathauto.
Class
- PathautoTestHelper
- Helper test class with some added functions for testing.
Code
function deleteAllAliases() {
db_delete('url_alias')
->execute();
drupal_clear_path_cache();
}