Problem/Motivation
For Drupal 9
Class 'Twig_Extension' is deprecated
Deprecated: since Twig 2.7, use "Twig\Extension\AbstractExtension" instead
Proposed resolution
Use the new class names.
Note: Do not use this if your twig version is not >= 2.7 until the module drop support for Drupal 8
Issue fork entity_embed-3264333
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
balintpekkerRTBC +1 on Twig ^3.1, D10.0.0-beta1, PHP 8.1.9
Comment #4
wim leersComment #5
wim leersThis is a trivial change, that Drupal core also did >3 years ago in #3041076: Update Drupal 9 to Twig 2.
This was a change in Drupal
9.0.x, so the failures on9.3and9.4are unrelated — as the pass on9.2proves. 👍Comment #6
wim leersActually, this is being handled over in #3287235: Drupal 10 compatibility…