Problem/Motivation

Hi, when decorating the date.formatter service, this module stops working because it expects a specific class in dependency injection.

Steps to reproduce

Define a decorator for the date.formatter service, then go to /node/{node}/workflow

Proposed resolution

Replace the DateFormatter class with the DateFormatterInterface interface in dependency injection.

Issue fork workflow-3418056

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

kksandr created an issue. See original summary.

kksandr’s picture

Status: Active » Needs review

johnv made their first commit to this issue’s fork.

  • johnv committed 7234586c on 8.x-1.x authored by kksandr
    Issue #3418056: Replace DateFormatter with DateFormatterInterface in DI
    
johnv’s picture

Version: 8.x-1.x-dev » 8.x-1.7
Status: Needs review » Fixed

Thanks, committed via MR.

Status: Fixed » Closed (fixed)

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