function EntityViewBuilderDecorator::createInstance
File
-
webprofiler/
src/ Entity/ EntityViewBuilderDecorator.php, line 85
Class
- EntityViewBuilderDecorator
- Class EntityViewBuilderDecorator
Namespace
Drupal\webprofiler\EntityCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static($entity_type, $container->get('entity.manager'), $container->get('language_manager'));
}