Task events are undocumented and undiscovarable

Created on 27 September 2025, 28 days ago
Updated 16 October 2025, 8 days ago

Problem/Motivation

According to https://www.drupal.org/node/3059866 β†’ "All events provided by this module are listed in \Drupal\search_api\Event\SearchApiEvents". Searching that file for the string "task" finds nothing.

Steps to reproduce

Try to react to the start of tracker rebuild.

Proposed resolution

Document the events from $this->eventDispatcher->dispatch($event, 'search_api.task.' . $task->getType()); this.

(Even better, drop events for oop hooks but I guess that's too much to ask.)

Remaining tasks

πŸ› Bug report
Status

Active

Version

1.0

Component

General code

Created by

πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024