Dependency injection for http client interface

Created on 25 April 2025, 13 days ago

Problem/Motivation

Using \Drupal::httpClient()->request('GET', $cert_url)->getBody(); without proper ClientInterface dependency implementation may occur in injections

Steps to reproduce

N/A

Proposed resolution

Add proper dependency injection for the http client interface

Remaining tasks

Add dependency for http interface insted to use \Drupal::httpClient()

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy bigbabert Milano, Italy

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

Comments & Activities

Production build 0.71.5 2024