You are here

public function Robohash::getBackground in Avatar Kit 8

Gets the background.

Return value

string|null The background, or NULL for default.

Overrides RobohashInterface::getBackground

1 call to Robohash::getBackground()
Robohash::getUrl in avatars_robohash/src/Robohash.php
Gets the URL for the avatar.

File

avatars_robohash/src/Robohash.php, line 65

Class

Robohash
Implements the Robohash.org API.

Namespace

Drupal\avatars_robohash

Code

public function getBackground() {
  return $this->background;
}