function current_search_config_exists in Facet API 6.3
Same name and namespace in other branches
- 7.2 contrib/current_search/plugins/export_ui/current_search_export_ui.class.php \current_search_config_exists()
- 7 contrib/current_search/plugins/export_ui/current_search_export_ui.class.php \current_search_config_exists()
Tests if the configuration name already exists.
Return value
A boolean flagging whether the item exists.
File
- contrib/
current_search/ plugins/ export_ui/ current_search_export_ui.class.php, line 618 - Export UI display customizations.
Code
function current_search_config_exists($name) {
$configs = ctools_export_crud_load_all('current_search');
return isset($configs[$name]);
}