You are here

public function MappingViewsHandlersEvent::getHandlerMapping in Search API 8

Retrieves a reference to the Views handler mapping.

Return value

array An associative array with data types as the keys and Views table data definition items as the values. In addition to all normally defined Search API data types, keys can also be "options" for any field with an options list, "entity" for general entity-typed fields or "entity:ENTITY_TYPE" (with "ENTITY_TYPE" being the machine name of an entity type) for entities of that type.

File

src/Event/MappingViewsHandlersEvent.php, line 40

Class

MappingViewsHandlersEvent
Wraps a mapping Views handlers event.

Namespace

Drupal\search_api\Event

Code

public function &getHandlerMapping() {
  return $this->handlerMapping;
}