You are here

public function SearchApiSavedSearchesViewsHandlerFieldName::render in Search API Saved Searches 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

views/handler_field_saved_search_name.inc, line 38
Contains the SearchApiSavedSearchesViewsHandlerFieldName class.

Class

SearchApiSavedSearchesViewsHandlerFieldName
Views field handler for displaying a saved search's name, optionally linked to the search page.

Code

public function render($values) {
  $this->currentSearchId = isset($values->id) ? $values->id : NULL;
  return parent::render($values);
}