function EntityBundleOptions::create

Overrides ContainerInjectionInterface::create

File

src/TypedData/Options/EntityBundleOptions.php, line 50

Class

EntityBundleOptions
Options provider for entity bundles.

Namespace

Drupal\rules\TypedData\Options

Code

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