function ComponentConfigResolver::getMultiple

Overrides RulesComponentResolverInterface::getMultiple

File

src/ComponentResolver/ComponentConfigResolver.php, line 34

Class

ComponentConfigResolver
Resolves Rules component configs.

Namespace

Drupal\rules\ComponentResolver

Code

public function getMultiple(array $ids) {
    return array_map(function (RulesComponentConfig $config) {
        return $config->getComponent();
    }, $this->entityStorage
        ->loadMultiple($ids));
}