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.
drupal-check -d web/modules/contrib/colorbox_load
4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------------
Line src/Renderer.php
------ ------------------------------------------------------------------
20 Call to deprecated function drupal_render_root():
as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
------ ------------------------------------------------------------------
[ERROR] Found 1 error
Comment | File | Size | Author |
---|---|---|---|
#2 | colorbox_load-deprecated_code-3087552-2-8x_1x_dev.patch | 615 bytes | dakruchko |
Comments
Comment #2
dakruchko CreditAttribution: dakruchko at EPAM Systems commentedplease review
Comment #3
dakruchko CreditAttribution: dakruchko at EPAM Systems commentedComment #4
NickDickinsonWildeThanks for the report - and the patch. Committing with a change - we want to use dependency injection; \Drupal::[function] should be avoided in OOP code - ie fine in *.module but not so much in classes.
Comment #6
NickDickinsonWilde