You are here

public function AvatarKitServiceStorageInterface::loadMultipleGenerator in Avatar Kit 8.2

Loads services on demand as a generator is iterated.

If an invalid ID is passed, then it is ignored.

Parameters

string[] $service_ids: An array of service plugin ID's.

Return value

\Generator|\Drupal\avatars\Plugin\Avatars\Service\AvatarKitServiceInterface[] Creates service plugins on demand.

1 method overrides AvatarKitServiceStorageInterface::loadMultipleGenerator()
AvatarKitServiceStorage::loadMultipleGenerator in src/Entity/AvatarKitServiceStorage.php
Loads services on demand as a generator is iterated.

File

src/Entity/AvatarKitServiceStorageInterface.php, line 23

Class

AvatarKitServiceStorageInterface
Defines an interface for role entity storage classes.

Namespace

Drupal\avatars\Entity

Code

public function loadMultipleGenerator(array $service_ids);