function RulesComponentRepository::addComponentResolver
Overrides RulesComponentRepositoryInterface::addComponentResolver
File
-
src/
Engine/ RulesComponentRepository.php, line 68
Class
- RulesComponentRepository
- Provides an implementation of the component repository service.
Namespace
Drupal\rules\EngineCode
public function addComponentResolver(RulesComponentResolverInterface $resolver, $resolver_name) {
$this->resolvers[$resolver_name] = $resolver;
return $this;
}