You are here

function current_search_config_exists in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 contrib/current_search/plugins/export_ui/current_search_export_ui.class.php \current_search_config_exists()
  2. 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.

1 string reference to 'current_search_config_exists'
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/plugins/export_ui/current_search_export_ui.class.php, line 596
Export UI display customizations.

Code

function current_search_config_exists($name) {
  $configs = ctools_export_crud_load_all('current_search');
  return isset($configs[$name]);
}