interface RulesComponentResolverInterface

Interface for rules component resolvers.

A resolver is responsible for getting components for a certain provider. The component resolvers are added to the repository via tagged services and provider name is determined.

Hierarchy

Expanded class hierarchy of RulesComponentResolverInterface

All classes that implement RulesComponentResolverInterface

2 files declare their use of RulesComponentResolverInterface
ComponentConfigResolver.php in src/ComponentResolver/ComponentConfigResolver.php
EventComponentResolver.php in src/ComponentResolver/EventComponentResolver.php

File

src/Engine/RulesComponentResolverInterface.php, line 12

Namespace

Drupal\rules\Engine
View source
interface RulesComponentResolverInterface {
    
    /**
     * Gets multiple components.
     *
     * @param string[] $ids
     *   The list of IDs of the components to get.
     *
     * @return \Drupal\rules\Engine\RulesComponent[]
     *   The array of components that could be resolved, keyed by ID.
     */
    public function getMultiple(array $ids);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
RulesComponentResolverInterface::getMultiple public function Gets multiple components. 2