MessengerInterface should be used instead of Messenger to typehint the service

Created on 8 July 2025, 4 days ago

Problem/Motivation

https://git.drupalcode.org/project/demo_design_system/-/blob/1.0.x/src/S... has use Drupal\Core\Messenger\Messenger; I think there is https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Messenger... to use so XB can override the service and does not interfere with the type hinting :)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇭🇺Hungary Gábor Hojtsy Hungary

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024