task: #3605014 updates for Drupal 12 compatibility

Closes #3605014

Edited by Matthew Radcliffe

Merge request reports

Loading