function RulesReactionListBuilder::createInstance

Overrides EntityListBuilder::createInstance

File

src/Controller/RulesReactionListBuilder.php, line 49

Class

RulesReactionListBuilder
Defines a class to build a listing of ReactionRuleConfig entities.

Namespace

Drupal\rules\Controller

Code

public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
    return new static($entity_type, $container->get('entity_type.manager')
        ->getStorage($entity_type->id()), $container->get('plugin.manager.rules_event'));
}