You are here

constant SearchApiEvents::MAPPING_VIEWS_FIELD_HANDLERS in Search API 8

The name of the event fired when building a map of Views field handlers.

This is used in the Search API Views integration to create Search API-specific field handlers for all properties of datasources and some entity types.

In addition to the definition returned here, for Field API fields, the "field_name" will be set to the field's machine name.

See also

\Drupal\search_api\Event\MappingViewsFieldHandlersEvent

_search_api_views_get_field_handler_mapping()

File

src/Event/SearchApiEvents.php, line 157

Class

SearchApiEvents
Defines events for the Search API module.

Namespace

Drupal\search_api\Event

Code

const MAPPING_VIEWS_FIELD_HANDLERS = 'search_api.mapping_views_field_handlers';