constant SearchApiEvents::MAPPING_FOREIGN_RELATIONSHIPS in Search API 8
The name of the event fired when mapping foreign relationships of an index.
Foreign relationships of an index help Search API to mark for reindexing search items affected by changes to entities that are indirectly indexed.
This event can be leveraged to alter the map of foreign relationships discovered for any particular search index.
See also
\Drupal\search_api\Event\MappingForeignRelationshipsEvent
File
- src/
Event/ SearchApiEvents.php, line 140
Class
- SearchApiEvents
- Defines events for the Search API module.
Namespace
Drupal\search_api\EventCode
const MAPPING_FOREIGN_RELATIONSHIPS = 'search_api.mapping_foreign_relationships';