Cache flush on VDB installation does not work
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3547139. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !900
>>>
<p>--- AI TRACKER METADATA ---<br>
Update Summary: Cache flush on VDB providers does not work<br>
Check-in Date: MM/DD/YYYY (US format) [When we should see progress/get an update]<br>
Due Date: MM/DD/YYYY (US format) [When the issue should be fully completed]<br>
Blocked by: [#XXXXXX] (New issues on new lines)<br>
Additional Collaborators: @username1, @username2<br>
AI Tracker found here: <a href="https://www.drupalstarforge.ai/">https://www.drupalstarforge.ai/</a><br>
--- END METADATA ---</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>After you install a VDB provider that exposes a VDBProviderInterface plugin, the plugin manager does not flush the cache for the plugins.</p>
<p>This causes you to have to flush the caches manually, before the VDB provider is usable.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>* Install a VDB provider<br>
* Try to get the definition for it, before flushing the cache.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>* Make sure the cache is updated on installation.</p>
issue