function EntityTypeOptions::create

Overrides ContainerInjectionInterface::create

File

src/TypedData/Options/EntityTypeOptions.php, line 36

Class

EntityTypeOptions
Options provider to list all entity types.

Namespace

Drupal\rules\TypedData\Options

Code

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