You are here

function search_api_page_get_index in Search API Pages 7

Entity property getter callback.

1 string reference to 'search_api_page_get_index'
search_api_page_entity_property_info in ./search_api_page.module
Implements hook_entity_property_info().

File

./search_api_page.module, line 361
Generate search pages using Search API indexes.

Code

function search_api_page_get_index(Entity $page) {
  return search_api_index_load($page->index_id);
}