function ContentTranslationController::create
Instantiates a new instance of the implementing class using autowiring.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container this instance should use.
Return value
static
Overrides AutowireTrait::create
File
- 
              core/modules/ content_translation/ src/ Controller/ ContentTranslationController.php, line 59 
Class
- ContentTranslationController
- Base class for entity translation controllers.
Namespace
Drupal\content_translation\ControllerCode
public static function create(ContainerInterface $container) {
  return new static($container->get('content_translation.manager'), $container->get('entity_field.manager'), $container->get('datetime.time'));
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
