You are here

function SarniaViewsHandlerArgumentId::init in Sarnia 7

For this handler, the solr_property option is hard-coded to the id field.

Overrides views_handler_argument::init

File

handlers/handler_argument_id.inc, line 13
Views argument handler for Solr document Ids.

Class

SarniaViewsHandlerArgumentId
@file Views argument handler for Solr document Ids.

Code

function init(&$view, &$options) {
  parent::init($view, $options);
  $this->options['solr_property'] = $this->definition['solr_property'];
}