Use Dependency Injection (DI) in WxTHttp4xxController

Created on 6 February 2023, about 2 years ago
Updated 7 February 2023, about 2 years ago

Problem/Motivation

As a follow-on to issue #3337399: wxt_core: 404 error pages not rendering , update the WxTHttp4xxController class code to fully use Dependency Injection (DI), so that the static call to \Drupal::service('renderer')->render() can be replaced, compliant with Drupal coding standards.

Proposed resolution

Update WxTHttp4xxController class code to fully use Dependency Injection.

📌 Task
Status

Fixed

Version

4.4

Component

Code

Created by

🇨🇦Canada jmdeleon

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

Comments & Activities

Production build 0.71.5 2024