public function AvatarKitEntityPreferenceManagerInterface::getPreferences in Avatar Kit 8.2
Get the avatar service preferences for an entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity to get preferences for.
Return value
string[] An array of avatar service plugin ID's sorted in order of priority. Keys have no importance.
1 method overrides AvatarKitEntityPreferenceManagerInterface::getPreferences()
- AvatarKitEntityPreferenceManager::getPreferences in src/
AvatarKitEntityPreferenceManager.php - Get the avatar service preferences for an entity.
File
- src/
AvatarKitEntityPreferenceManagerInterface.php, line 22
Class
- AvatarKitEntityPreferenceManagerInterface
- Interface for entity preference manager.
Namespace
Drupal\avatarsCode
public function getPreferences(EntityInterface $entity) : array;