Altering existing services, providing dynamic services suggests to decorate a service, instead of changing the class associated to a service.

An example of that is given in Alter existing services with Service Decorators — Drupal. A similar example is given in Drupal 8: Service Decorators.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

avpaderno created an issue. See original summary.

avpaderno’s picture

Assigned: Unassigned » avpaderno

avpaderno’s picture

Status: Active » Needs review

avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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