function EntityTypeInfo::create

Same name in other branches
  1. 5.x src/EntityTypeInfo.php \Drupal\devel\EntityTypeInfo::create()

Overrides ContainerInjectionInterface::create

File

src/EntityTypeInfo.php, line 42

Class

EntityTypeInfo
Manipulates entity type information.

Namespace

Drupal\devel

Code

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