function FieldListOptions::create

Overrides ContainerInjectionInterface::create

File

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

Class

FieldListOptions
Options provider to return all fields in the system.

Namespace

Drupal\rules\TypedData\Options

Code

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