Add option to force index rebuilding
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2927492. -->
Reported by: [seanb](https://www.drupal.org/user/545912)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently the module only rebuilds the index when changing configuration. While this is a good default, it would be nice to force the index to be rebuilt. For instance when deploying the module configuration to a staging environment. The index is empty but the module is already configured.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add a 'Rebuild index' button to the configuration form.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Change the configuration form and add a <code>$force_rebuild</code> option to the <code>setConfiguration()</code> method.</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>New button on configuration form.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>Add new parameter to the <code>Tracker::setConfiguration()</code> method. We add a default value to not break BC.</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>-</p>
issue