Use dependency injection

Created on 19 October 2023, about 1 year ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

Drupal recommends that dependency injection be used instead of calls in classes to \Drupal and Vocabulary::loadMultiple().

Steps to reproduce

Run a coding standards check with phpcs --standard=Drupal,DrupalPractice.

Proposed resolution

Use dependency injection.

Remaining tasks

Implement.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

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

Comments & Activities

Production build 0.71.5 2024