Inject content_translation.manager in InlineEntityFormBase

Created on 9 January 2024, over 1 year ago

\Drupal is used to check for and then load the content_translation.manager service in InlineEntityFormBase::isTranslating(). Both phpcs and PHPSTan are flagging it, resulting in multiple comments to ignore the warnings. The \Drupal class is used here because the service is a kind of optional dependency. IEF must use it if it's enabled.

Find a better way to inject the service, if possible.

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

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