You are here

public function AvatarBase::identifierIsPreHashed in Avatar Kit 8

Determines if the set identifier was prehashed.

Return value

bool|null boolean if identifier has been set, otherwise NULL.

Overrides AvatarBaseInterface::identifierIsPreHashed

3 calls to AvatarBase::identifierIsPreHashed()
Adorable::getUrl in avatars_adorable/src/Adorable.php
Gets the URL for the avatar.
Gravatar::getUrl in avatars_gravatar/src/Gravatar.php
Gets the URL for the avatar.
Robohash::getUrl in avatars_robohash/src/Robohash.php
Gets the URL for the avatar.

File

src/AvatarBase.php, line 133

Class

AvatarBase
Abstract class for Avatar APIs.

Namespace

Drupal\avatars

Code

public function identifierIsPreHashed() {
  return $this->prehashed;
}