Add Views data definition to join to Search API index
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3535517. --> Reported by: [damienmckenna](https://www.drupal.org/user/108450) Related to !123 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>It would be useful if it would be possible to join the book data to the search_api index so that book data could be displayed in a view of the search data.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Use hook_views_data_alter() to add the necessary relationship.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Use hook_views_data_alter() to add the necessary relationship.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>Book data could be to a view that indexes node data.</p> <h3 id="summary-api-changes">API changes</h3> <p>TBD</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>TBD</p> > Related issue: [Issue #3556806](https://www.drupal.org/node/3556806)
issue