function RulesComponentRepositoryInterface::addComponentResolver

Adds a component resolver.

Parameters

\Drupal\rules\Engine\RulesComponentResolverInterface $resolver: The resolver.

string $resolver_name: The name under which to add the resolver.

Return value

$this

1 method overrides RulesComponentRepositoryInterface::addComponentResolver()
RulesComponentRepository::addComponentResolver in src/Engine/RulesComponentRepository.php
Adds a component resolver.

File

src/Engine/RulesComponentRepositoryInterface.php, line 23

Class

RulesComponentRepositoryInterface
Interface for the component repository.

Namespace

Drupal\rules\Engine

Code

public function addComponentResolver(RulesComponentResolverInterface $resolver, $resolver_name);