function search_api_test_load in Search API 7
Load handler for search_api_test entities.
2 calls to search_api_test_load()
- search_api_test_insert_item_submit in tests/
search_api_test.module - Submit callback for search_api_test_insert_item().
- search_api_test_parent in tests/
search_api_test.module - Parent callback.
File
- tests/
search_api_test.module, line 82 - Test functions and classes for testing the Search API.
Code
function search_api_test_load($id) {
$ret = entity_load('search_api_test', array(
$id,
));
return $ret ? array_shift($ret) : NULL;
}