Compatible for drupal 10 onwards

Created on 7 September 2023, about 1 year ago

Problem/Motivation

Doesn't work with drupal 10

Steps to play

Problem with class AlienAliasTwigExtension extends \Twig_Extension {

Proposed resolution

replace
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

class AlienAliasTwigExtension extends AbstractExtension {

and on line 47
new TwigFunction('alien_alias_url', [$this, 'alienAliasUrl']),

Remaining tasks

Sorry I'm new to this.

Greetings I hope it works

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇦🇷Argentina leandro.suarez La plata

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024