\Drupal calls should be avoided in classes

Created on 18 July 2023, 12 months ago
Updated 23 October 2023, 8 months ago

Problem/Motivation

The ImagefieldSlideshowFieldFormatter.php file contains global service calls as per reported by phpcs.

Steps to reproduce

Run the phpcs command on the module.

Proposed resolution

Use the properties with injected services and inject the path_alias.manager service into the class.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India sidharth_soman Bangalore

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024