You are here

function search_api_entity_access in Search API 7

Determines whether a user can access a certain search server or index.

Used as an access callback in search_api_entity_info().

1 string reference to 'search_api_entity_access'
search_api_entity_info in ./search_api.module
Implements hook_entity_info().

File

./search_api.module, line 2694
Provides a flexible framework for implementing search services.

Code

function search_api_entity_access() {
  return user_access('administer search_api');
}