public static function ContentTranslationPreviewController::create

File

sources/content/src/Controller/ContentTranslationPreviewController.php, line 39

Class

ContentTranslationPreviewController
Content preview translation controller.

Namespace

Drupal\tmgmt_content\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'));
}