ContentTranslationController::__construct

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;
}
doc_Drupal
2016-10-29 08:58:08
Comments
Leave a Comment

Please login to continue.