Problem/Motivation

 ------ ------------------------------------------------------------ 
  Line   pathauto.tokens.inc                                         
 ------ ------------------------------------------------------------ 
  38     Call to deprecated function render():                       
         in drupal:9.3.0 and is removed from drupal:10.0.0. Use      
           \Drupal\Core\Render\RendererInterface::render() instead.  
 ------ ------------------------------------------------------------ 

Proposed resolution

Use \Drupal\Core\Render\RendererInterface::render() instead.

Issue fork pathauto-3272913

Command icon 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

Ruturaj Chaubey created an issue. See original summary.

berdir’s picture

This is apparently untested or we'd have discovered it in #3266631: Drupal 10 compatibility, require Drupal 9.3, I kind of suspect that is dead code that can't really be triggered. Would require token array data with render arrays.

ruturaj chaubey’s picture

Assigned: ruturaj chaubey » Unassigned
Status: Active » Needs review

Noted but anyways updated the code.

berdir’s picture

Status: Needs review » Fixed

Yeah, that's fair, merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.