function search_api_test_delete in Search API 7
Menu callback for marking a "search_api_test" entity as changed.
1 string reference to 'search_api_test_delete'
- search_api_test_menu in tests/
search_api_test.module - Implements hook_menu().
File
- tests/
search_api_test.module, line 104 - Test functions and classes for testing the Search API.
Code
function search_api_test_delete($entity) {
db_delete('search_api_test')
->condition('id', $entity->id)
->execute();
module_invoke_all('entity_delete', $entity, 'search_api_test');
}