function NodeTypeOptions::create

Overrides ContainerInjectionInterface::create

File

src/TypedData/Options/NodeTypeOptions.php, line 35

Class

NodeTypeOptions
Options provider to list all node types.

Namespace

Drupal\rules\TypedData\Options

Code

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