Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think, moving the functionality of hook_search_api_item_type_info() into a (static) method for data sources would make sense.
Comments
Comment #1
drunken monkeyComment #2
drunken monkeyComment #4
Chris Gillis CreditAttribution: Chris Gillis commented@drunken-monkey could you please describe the new way to define items? What was this hook replaced with?