function UserHasEntityFieldAccess::create

Overrides ContainerFactoryPluginInterface::create

File

src/Plugin/Condition/UserHasEntityFieldAccess.php, line 79

Class

UserHasEntityFieldAccess
Provides a 'User has entity field access' condition.

Namespace

Drupal\rules\Plugin\Condition

Code

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