Use query->all() instead of query->get() to fix compatibility with Drupal 10
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3338934. -->
Reported by: [gxleano](https://www.drupal.org/user/3591999)
Related to !24
>>>
<p>Use <code>query->all()</code> instead of <code>query->get()</code> to fix compatibility with Drupal 10</p>
issue