task: #3602011 Drupal 12 compatibility fixes

Closes #3602011

Merge request reports

Loading