You are here

public function GravatarInterface::setFallbackUri in Avatar Kit 8

The URI to an image used for when 'gravatar' type fails.

Such as when there is no Gravatar for the hash.

Parameters

string $uri: The URI of an image to use as a fallback.

Return value

\Drupal\avatars_gravatar\GravatarInterface Returns the called object for chaining.

1 method overrides GravatarInterface::setFallbackUri()
Gravatar::setFallbackUri in avatars_gravatar/src/Gravatar.php
The URI to an image used for when 'gravatar' type fails.

File

avatars_gravatar/src/GravatarInterface.php, line 89

Class

GravatarInterface
Provides an interface for the Gravatar.com API.

Namespace

Drupal\avatars_gravatar

Code

public function setFallbackUri($uri);