You are here

public function AvatarGeneratorPluginInterface::getFile in Avatar Kit 8

Gets File object for an avatar.

Parameters

\Drupal\Core\Session\AccountInterface $account: A user account.

Return value

\Drupal\file\FileInterface A file object.

1 method overrides AvatarGeneratorPluginInterface::getFile()
AvatarGeneratorBase::getFile in src/Plugin/AvatarGenerator/AvatarGeneratorBase.php
Gets File object for an avatar.

File

src/Plugin/AvatarGenerator/AvatarGeneratorPluginInterface.php, line 34

Class

AvatarGeneratorPluginInterface
Interface for AvatarGenerator plugins.

Namespace

Drupal\avatars\Plugin\AvatarGenerator

Code

public function getFile(AccountInterface $account);