public function RobohashInterface::setBackground in Avatar Kit 8
Set the background.
Parameters
string|null $background: The background to use, or NULL to use default.
Return value
\Drupal\avatars_robohash\RobohashInterface Returns the called Robohash object for chaining.
1 method overrides RobohashInterface::setBackground()
- Robohash::setBackground in avatars_robohash/
src/ Robohash.php - Set the background.
File
- avatars_robohash/
src/ RobohashInterface.php, line 78
Class
- RobohashInterface
- Provides an interface to the Robohash.org API.
Namespace
Drupal\avatars_robohashCode
public function setBackground($background = NULL);