$context removed from hook_entity_view_mode_alter
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3264952. -->
Reported by: [mglaman](https://www.drupal.org/user/2416470)
>>>
<h2>Drupal version</h2>
<p>10.0.x</p>
<h2>Drupal Rector version</h2>
<h2>Problem / Motivation</h2>
<p><a href="https://www.drupal.org/node/3193299">https://www.drupal.org/node/3193299</a></p>
issue