Deprecate dependency injection methods on LanguageNegotiationMethodInterface

Created on 25 April 2016, over 8 years ago
Updated 8 February 2023, over 1 year ago

LanguageNegotiationMethodInterface specifies three methods for dependency injection. This is a bad practice, as APIs (interfaces) do not specify implementation details, which is exactly what dependencies are. Classes must handle these themselves, preferably through constructor injection.

📌 Task
Status

Needs work

Version

10.1

Component
Language system 

Last updated 1 day ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇬🇧United Kingdom Xano Southampton

Live updates comments and jobs are added and updated live.
  • Documentation

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024