function apachesolr_context_page_condition::condition_values in Apache Solr Search 7
Override of condition_values().
Overrides context_condition::condition_values
File
- plugins/
context/ apachesolr_context_page_condition.inc, line 14 - Context integration for Apachesolr.
Class
- apachesolr_context_page_condition
- Expose Apachesolr pages as a context condition.
Code
function condition_values() {
// Retrieve all Apachesolr pages to return a list of conditions.
$values = array();
foreach (apachesolr_search_load_all_search_pages() as $page) {
$values[$page['page_id']] = check_plain($page['label']);
}
return $values;
}