public function Robohash::setTypeRandom in Avatar Kit 8
Sets type to random.
Will not be random for each request, rather for each identifier.
Return value
\Drupal\avatars_robohash\RobohashInterface Returns the called Robohash object for chaining.
Overrides RobohashInterface::setTypeRandom
File
- avatars_robohash/
src/ Robohash.php, line 105
Class
- Robohash
- Implements the Robohash.org API.
Namespace
Drupal\avatars_robohashCode
public function setTypeRandom() {
$this->type = 'any';
return $this;
}