You are here

function current_search_item_load in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 contrib/current_search/current_search.module \current_search_item_load()
  2. 7 contrib/current_search/current_search.module \current_search_item_load()

Returns the settings for a current search block configuration.

Parameters

$name: The machine readable name of the configuration.

Return value

stdClass An object containing the configuration, FALSE if not defined.

1 call to current_search_item_load()
current_search_check_visibility in contrib/current_search/current_search.block.inc
Checks whether the block should be displayed.

File

contrib/current_search/current_search.module, line 183
Provides an interface for creating blocks containing information about the current search.

Code

function current_search_item_load($name) {
  ctools_include('export');
  $result = ctools_export_crud_load('current_search', $name);
  return $result ? $result : FALSE;
}