You are here

function search_api_sorts_help in Search API sorts 7

Same name and namespace in other branches
  1. 8 search_api_sorts.module \search_api_sorts_help()

Implements hook_help().

File

./search_api_sorts.module, line 11
Create sort options for search queries executed via the Search API.

Code

function search_api_sorts_help($path, array $arg) {
  if ($path == 'admin/config/search/search_api/index/%/sorts') {
    return t('Select the indexed fields for which you want to enable sorting. Before the sort blocks is actually displayed, you will have to enable and configure it at the <a href="!url">block administration page</a>.', array(
      '!url' => url('admin/structure/block'),
    ));
  }
}