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 /admin/people/profiles
Proposed resolution
Replace the DateFormatter class with the DateFormatterInterface interface in dependency injection.
Issue fork profile-3412148
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:
- 3412148-fix-di
changes, plain diff MR !22
Comments
Comment #3
kksandr commentedComment #5
jsacksick commentedCommitted, thanks!