You are here

function search_api_status_options_list in Search API 7

Returns an options list for the "status" property.

Used as an options list callback in search_api_entity_property_info().

Return value

array An array of options, as defined by hook_options_list().

1 string reference to 'search_api_status_options_list'
search_api_entity_property_info in ./search_api.module
Implements hook_entity_property_info().

File

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

Code

function search_api_status_options_list() {
  return array(
    ENTITY_CUSTOM => t('Custom'),
    ENTITY_IN_CODE => t('Default'),
    ENTITY_OVERRIDDEN => t('Overridden'),
    ENTITY_FIXED => t('Fixed'),
  );
}