References #3465601
Makes only the changes that maintain compatibility with Drupal 9.0, i.e.: changing certain types from string to path.