function current_search_get_plugins in Facet API 6.3
Same name and namespace in other branches
- 7.2 contrib/current_search/current_search.module \current_search_get_plugins()
- 7 contrib/current_search/current_search.module \current_search_get_plugins()
Returns an array of available current search plugins.
Return value
array An associative array keyed by plugin ID to human readable label.
1 call to current_search_get_plugins()
- current_search_settings_form in contrib/
current_search/ plugins/ export_ui/ current_search_export_ui.class.php - Define the preset add/edit form.
File
- contrib/
current_search/ current_search.module, line 149 - Provides an interface for creating blocks containing information about the current search.
Code
function current_search_get_plugins() {
$plugins =& ctools_static(__FUNCTION__, array());
if (!$plugins) {
foreach (ctools_get_plugins('current_search', 'items') as $id => $plugin) {
$plugins[$id] = $plugin['handler']['label'];
}
}
return $plugins;
}