function ComponentConfigResolver::__construct

Constructs the object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/ComponentResolver/ComponentConfigResolver.php, line 27

Class

ComponentConfigResolver
Resolves Rules component configs.

Namespace

Drupal\rules\ComponentResolver

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
    $this->entityStorage = $entity_type_manager->getStorage('rules_component');
}