You are here

function search_api_test_parent in Search API 7

Parent callback.

1 string reference to 'search_api_test_parent'
search_api_test_entity_property_info in tests/search_api_test.module
Implements hook_entity_property_info().

File

tests/search_api_test.module, line 189
Test functions and classes for testing the Search API.

Code

function search_api_test_parent($entity) {
  return search_api_test_load($entity->id - 1);
}