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
Are skipping the deprecation The Twig_Node::getLine method is deprecated since version 1.27 and will be removed in 2.0. Use getTemplateLine() instead.
Proposed resolution
Remove that line and fix the code
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | 2959276-2.patch | 1.36 KB | alexpott |
Comments
Comment #2
alexpottLet's see what breaks.
Comment #3
alexpottThis was fixed in #2884675: Remove twig uses of Twig_Node::getLine to Twig_Node::getTemplateLine - but the skipped deprecation was not removed.
Comment #4
BerdirLets remove it then.
Comment #6
lauriiiDouble checked that there's no usages left and I can confirm that all the usages of Twig_Node::getLine() has been removed. Committed 2302f59 and pushed to 8.6.x. Thanks!