Fix deprecations for Drupal 11

Closes #3585901

Merge request reports

Loading