Issue #3605144: Add drupal 12 compatibility