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.
In block_class_help(), the deprecated function \Drupal::url() is being called. This should be replaced with Url::fromRoute().
Comment | File | Size | Author |
---|---|---|---|
#2 | block_class_deprecated_url_function-2989286-2.diff | 966 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous at Ashday Interactive Systems commentedJKerschner created an issue. See original summary.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous at Ashday Interactive Systems commentedComment #3
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedThis looks good.
As per "Deprecated" notice on public static function Drupal::url"
Comment #4
renatogreally works good +1
Comment #6
renatogCommitted and pushed to the dev branch.
Thank you very much.
Best
Comment #8
Chris Matthews CreditAttribution: Chris Matthews commented