Problem/Motivation

The Drupal and DrupalPractice request depency injection

Proposed resolution

Inject objects of type ConfigFactoryInterface, AccountInterface, ModuleHandler

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Thalles created an issue. See original summary.

thalles’s picture

Hi, Congratulations on the module!
Here is the patch that injects dependencies.

thalles’s picture

Status: Needs work » Needs review
hass’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev

Thanks. Please also roll for 3.x

  • hass committed 602307e on 8.x-3.x authored by Thalles
    Issue #3010797 by Thalles: Drupal dependency injection
    

  • hass committed 03d56d4 on 8.x-2.x authored by Thalles
    Issue #3010797 by Thalles: Drupal dependency injection
    
hass’s picture

Status: Needs review » Fixed

Also ported to Matomo Admin Form.

thalles’s picture

I will do

hass’s picture

All done...

Status: Fixed » Closed (fixed)

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