function ContentTranslationEnableTranslationPerBundle::__construct
Same name and namespace in other branches
- 11.x core/modules/content_translation/src/ContentTranslationEnableTranslationPerBundle.php \Drupal\content_translation\ContentTranslationEnableTranslationPerBundle::__construct()
File
-
core/
modules/ content_translation/ src/ ContentTranslationEnableTranslationPerBundle.php, line 30
Class
- ContentTranslationEnableTranslationPerBundle
- Provides a widget to enable content translation per entity bundle.
Namespace
Drupal\content_translationCode
public function __construct(protected ContentTranslationManagerInterface $contentTranslationManager, protected AccountInterface $currentUser, protected LanguageManagerInterface $languageManager, protected RouteBuilderInterface $routeBuilder) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.