public ContentTranslationController::__construct(ContentTranslationManagerInterface $manager)
Initializes a content translation controller.
Parameters
\Drupal\content_translation\ContentTranslationManagerInterface $manager: A content translation manager instance.
File
- core/modules/content_translation/src/Controller/ContentTranslationController.php, line 32
Class
- ContentTranslationController
- Base class for entity translation controllers.
Namespace
Drupal\content_translation\Controller
Code
public function __construct(ContentTranslationManagerInterface $manager) { $this->manager = $manager; }
Please login to continue.