Remove AiVdbProviderInterface::getVdbIds()
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3539033. -->
Reported by: [kim.pepper](https://www.drupal.org/user/370574)
Related to !969
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>It is only used in <code>\Drupal\ai\Base\AiVdbProviderClientBase::deleteItems()</code>. There may be better provider-specific ways of deleting multiple items, rather than doing a look up for entity ids to get vdb ids, to then delete them.</p>
<p>We should let the vdb provider handle deleting multiple items directly instead.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Deprecate <code>\Drupal\ai\AiVdbProviderInterface::getVdbIds()</code> and let the vdb provider delete directly.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
issue