public function AvatarBaseInterface::setHostName in Avatar Kit 8
Sets the request host name.
Parameters
string|null $hostname: A host name, or NULL to reset to default.
Return value
\Drupal\avatars\AvatarBaseInterface Returns the called Robohash object for chaining.
1 method overrides AvatarBaseInterface::setHostName()
- AvatarBase::setHostName in src/
AvatarBase.php - Sets the request host name.
File
- src/
AvatarBaseInterface.php, line 27
Class
- AvatarBaseInterface
- Interface for Avatar APIs.
Namespace
Drupal\avatarsCode
public function setHostName($hostname = NULL);