You are here

public function AvatarManagerInterface::getPreferences in Avatar Kit 8

Avatar preference generators.

Ordered by priority.

Parameters

\Drupal\user\UserInterface $user: A user entity.

Return value

\Generator Generator yield pairs: key: string $avatar_generator_machine_name value: value of constants prefixed with AvatarPreviewInterface::SCOPE_*

1 method overrides AvatarManagerInterface::getPreferences()
AvatarManager::getPreferences in src/AvatarManager.php
Avatar preference generators.

File

src/AvatarManagerInterface.php, line 89

Class

AvatarManagerInterface
Provides an interface to the avatar manager service.

Namespace

Drupal\avatars

Code

public function getPreferences(UserInterface $user);