function SarniaViewsHandlerField::init in Sarnia 7
Initialize the handler and load Sarnia entity type info.
Overrides views_handler_field::init
File
- handlers/
handler_field.inc, line 24
Class
- SarniaViewsHandlerField
- Field handler for displaying Solr fields in Views.
Code
function init(&$view, &$options) {
parent::init($view, $options);
$this->sarnia_type_info = sarnia_entity_type_load_by_index($this->definition['search_api_index']);
}