Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Replace deprecated method \Drupal::url()
Proposed resolution
Use \Drupal::urlGenerator()->generateFromRoute()
Comment | File | Size | Author |
---|---|---|---|
#2 | ckeditor_bgimage-Replace_deprecated_method_Drupal_url-3050479-2-D8.patch | 899 bytes | thalles |
Comments
Comment #2
thallesFollow the patch!
Comment #4
thalles