You are here

public function MappingViewsFieldHandlersEvent::getFieldHandlerMapping in Search API 8

Retrieves a reference to the Views field handler mapping.

Return value

array An associative array with property data types as the keys and Views field handler definitions as the values (that is, just the inner "field" portion of Views data definition items). In some cases the value might also be NULL instead, to indicate that properties of this type shouldn't have field handlers. The data types in the keys might also contain asterisks (*) as wildcard characters. Data types with wildcards will be matched only if no specific type exists, and longer type patterns will be tried before shorter ones. The "*" mapping therefore is the default if no other match could be found.

File

src/Event/MappingViewsFieldHandlersEvent.php, line 43

Class

MappingViewsFieldHandlersEvent
Wraps a mapping Views field handlers event.

Namespace

Drupal\search_api\Event

Code

public function &getFieldHandlerMapping() {
  return $this->fieldHandlerMapping;
}