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.
Problem/Motivation
Add more view modes support, even for content that is not an Entity. Boost multi-site search support massively. In order to allow external data to be shown better, we need a way to show this data in view modes without them being entities. Perhaps even fake entities? I'm not entirely sure what this story should like like but we should certainly discuss it.
The broader picture here is that multisite search in Search API is currently unrepresented and should get an overhaul
Proposed resolution
Unidentified
Remaining tasks
Unidentified
User interface changes
Unidentified
API changes
Unidentified
Comments
Comment #1
drunken monkeyGood point, thanks!
We should probably just move the decision logic for what is and isn't viewable, and how to view a search item, into the datasource controller. The default entity datasource controller could then use the current logic for entities, while others would be free to implement their own mechanism.
Comment #2
drunken monkeyThis has now been implemented.