function RulesComponentRepositoryInterface::getMultiple

Gets the components for the given IDs.

Parameters

string[] $ids: The IDs of the components to get. The supported IDs depend on the given provider. For the default provider 'rules' the entity IDs of component configs may be passed.

string $resolver: The resolver of the component. See ::get() for a list of supported resolvers.

Return value

\Drupal\rules\Engine\RulesComponent[] An array of components, keyed by component ID.

Throws

\Drupal\rules\Exception\InvalidArgumentException Thrown if an unsupported provider is given.

1 method overrides RulesComponentRepositoryInterface::getMultiple()
RulesComponentRepository::getMultiple in src/Engine/RulesComponentRepository.php
Gets the components for the given IDs.

File

src/Engine/RulesComponentRepositoryInterface.php, line 67

Class

RulesComponentRepositoryInterface
Interface for the component repository.

Namespace

Drupal\rules\Engine

Code

public function getMultiple(array $ids, $resolver = 'rules_component');