Problem/Motivation
Make the module compatible with Drupal 10.
Steps to reproduce
Use the module with Drupal 10.
Proposed resolution
Replace drupal_get_path() with \Drupal::service('extension.path.resolver')->getPath(().
Remaining tasks
- Create MR
- Review MR
- Merge MR
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork gin_login-3278675
Show commands
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
ricovandevin commentedComment #4
saschaeggiComment #5
dieterholvoet commentedComment #6
dieterholvoet commentedSeems like
drupal_get_path()is not the only thing that needs to be changed to make the module compatible with Drupal 10. I replaced usages offile_create_url()as well.Comment #7
saschaeggiReady for review
Comment #8
saschaeggiComment #9
dieterholvoet commentedTested on a D10 site, all functionality seems to work without warnings/errors.
Comment #11
saschaeggiThanks Dieter for testing :)