public function ContentTranslationController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/Controller/ContentTranslationController.php \Drupal\content_translation\Controller\ContentTranslationController::__construct()
Initializes a content translation controller.
Parameters
\Drupal\content_translation\ContentTranslationManagerInterface: A content translation manager instance.
File
- core/
modules/ content_translation/ src/ Controller/ ContentTranslationController.php, line 37 - Contains \Drupal\content_translation\Controller\ContentTranslationController.
Class
- ContentTranslationController
- Base class for entity translation controllers.
Namespace
Drupal\content_translation\ControllerCode
public function __construct(ContentTranslationManagerInterface $manager) {
$this->manager = $manager;
}