The hook gin_theme_suggestions_views_view_field_alter seems to be useless
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3547669. --> Reported by: [damien laguerre](https://www.drupal.org/user/993490) Related to !697 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The hook gin_theme_suggestions_views_view_field_alter prevents other modules from overriding the status field theme.<br> Furthermore, this hook does not seem useful, as theme suggestions are already handled by the Views module in Drupal\views\Plugin\views\field\FieldPluginBase::themeFunctions().</p> <p>After removing it, the theme loads correctly.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Try declaring a theme &lsquo;views_view_field__MY_VIEW__status&rsquo; in a custom module.<br> The theme views_view_field__status declared by Gin systematically takes precedence.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Remove the hook from includes/theme.theme</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue