disabled = FALSE; /* Edit this to true to make a default item disabled initially */ $item->api_version = 1; $item->name = 'study_current_search'; $item->label = 'Study current search'; $item->settings = array( 'items' => array( 'results' => array( 'id' => 'text', 'label' => 'Results', 'text' => 'Search found [facetapi_results:result-count] study', 'plural' => 1, 'text_plural' => 'Search found [facetapi_results:result-count] studies', 'plural_condition' => 'facetapi_results:result-count', 'wrapper' => 1, 'element' => 'h3', 'css' => 1, 'classes' => 'current-search-result', 'weight' => '-50', ), 'field_group' => array( 'id' => 'group', 'label' => 'Field group', 'field_pattern' => '[facetapi_facet:facet-label]:', 'nofollow' => 1, 'weight' => '0', ), ), 'advanced' => array( 'empty_searches' => 0, ), ); $export['study_current_search'] = $item; return $export; }