You are here

public function AvatarBase::isSecure in Avatar Kit 8

Whether the URL will be secure.

Return value

bool Whether the URL should be secure.

Overrides AvatarBaseInterface::isSecure

4 calls to AvatarBase::isSecure()
Adorable::getUrl in avatars_adorable/src/Adorable.php
Gets the URL for the avatar.
Gravatar::getHostName in avatars_gravatar/src/Gravatar.php
Gets the request host name.
Gravatar::getUrl in avatars_gravatar/src/Gravatar.php
Gets the URL for the avatar.
Robohash::getUrl in avatars_robohash/src/Robohash.php
Gets the URL for the avatar.

File

src/AvatarBase.php, line 152

Class

AvatarBase
Abstract class for Avatar APIs.

Namespace

Drupal\avatars

Code

public function isSecure() {
  return $this->secure;
}