public function SearchApiSavedSearchesViewsHandlerFieldInterval::query in Search API Saved Searches 7
Overrides views_handler_field::query().
Adds the settings_id field if custom labels should be used.
Overrides views_handler_field::query
File
- views/
handler_field_saved_search_interval.inc, line 48 - Contains the SearchApiSavedSearchesViewsHandlerFieldInterval class.
Class
- SearchApiSavedSearchesViewsHandlerFieldInterval
- Views field handler for displaying a saved search's notification interval.
Code
public function query() {
parent::query();
if ($this->options['custom_labels']) {
$this
->add_additional_fields(array(
'settings_id',
));
}
}