This issue deals with #2494695: [meta] Deprecate dependency setters and getters on interfaces for \Drupal\Core\language\LanguageManagerInterface.

CommentFileSizeAuthor
#4 drupal_2494705_4.patch616 bytesXano
#1 drupal_2494705_1.patch614 bytesXano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xano’s picture

Title: Deprecate dependency setters and getters on LangaugeManagerInterface » Deprecate dependency setters and getters on LanguageManagerInterface
Status: Active » Needs review
FileSize
614 bytes
Xano’s picture

jhodgdon’s picture

Status: Needs review » Needs work

I think the 2nd line should be indented, the way we do for @throws and other tags?

Xano’s picture

Status: Needs work » Needs review
FileSize
616 bytes

Yup, thanks!

jhodgdon’s picture

Component: documentation » language system

Thanks! Tthe formatting looks good to me now.

But I cannot comment on whether the methods should be deprecated, so I think I'll leave the RTBC to someone else... and this is probably not really just Documentation: deprecating a function is not really a docs issue.

Mile23’s picture

Status: Needs review » Closed (won't fix)

It looks like Drupal\Core\Language\TranslationManagerInterface no longer has a setTranslation() method.