Closed (fixed)
Project:
Vragen.ai - Search API
Version:
2.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
30 Mar 2026 at 09:32 UTC
Updated:
17 Apr 2026 at 11:55 UTC
Jump to comment: Most recent
This module supports Drupal 10, but uses a method only available since Drupal 11.x: #2699835: Add a method to ContentEntityBase for getting its Bundle entity in src/EventSubscriber/IndexEventsSubscriber.php line 44
Install Drupal 10.6 and module search_api_vragen_ai. Index a document
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jelleglebbeek commentedComment #4
jelleglebbeek commentedI've created a fix for this, we'll just manually resolve the bundle entity. I've added a todo to move to the function call once D10 support is dropped eventually.
Comment #5
bbralaThe is a helper class for that in Drupal.
DeprecationHelper
Ypu can use that to split the code path by version.
Comment #6
bbralaComment #7
jelleglebbeek commentedI've used the DeprecationHelper so we can branch based on Drupal version.
Comment #8
bbrala