You are here

public function SarniaViewsHandlerArgumentId::option_definition in Sarnia 7

Add an option to use a different solr property as the name of this argument.

Overrides SarniaViewsHandlerArgument::option_definition

File

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

Class

SarniaViewsHandlerArgumentId
@file Views argument handler for Solr document Ids.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['name_solr_property'] = array(
    'default' => $this->definition['solr_property'],
  );
  return $options;
}