Closed (fixed)
Project:
Webform
Version:
6.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2021 at 11:18 UTC
Updated:
30 Dec 2021 at 22:19 UTC
Jump to comment: Most recent
Drupal 9.3.x has deprecated drupal_get_path().
Use webform on Drupal 9.3.x
Fix code in ways that are still compatible with prior versions of Drupal.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottLet's make this only about drupal_get_path - the date callback stuff is handled in #3221398: [Drupal 9.x] Update use of date_time_callbacks and date_date_callbacks in Webform
Comment #4
alexpottComment #5
alexpottComment #6
alexpottComment #7
alexpottI've reviewed the patch. There are many places where there's no need to use a service to determine the path of a module because webform stuff is being referenced. We can use __DIR__ - and this has the nice advantage of being quicker and integrating much better with IDEs so you can click on the file and go to it.
Comment #8
jrockowitz commentedComment #9
alexpott@jrockowitz this change is completely compatible with Drupal 8.9 fwiw.
Comment #10
alexpottNow that 6.x passes tests on 9.3.x I think this one is ready.
Comment #11
jrockowitz commented