You are here

public function SiteimproveDomainBase::getUrls in Siteimprove 8

Return urls for active domains for this entity.

If http/https isn't specified in domain name, use the backend's scheme.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: Entity to get active domain names for.

Return value

array Array of domain names without trailing slash.

3 methods override SiteimproveDomainBase::getUrls()
DomainAccess::getUrls in siteimprove_domain_access/src/Plugin/SiteimproveDomain/DomainAccess.php
Return urls for active domains for this entity.
Simple::getUrls in src/Plugin/SiteimproveDomain/Simple.php
Return default domain.
Single::getUrls in src/Plugin/SiteimproveDomain/Single.php
Return urls for active domains for this entity.

File

src/Plugin/SiteimproveDomainBase.php, line 100

Class

SiteimproveDomainBase
Base class for Siteimprove domain plugins.

Namespace

Drupal\siteimprove\Plugin

Code

public function getUrls(EntityInterface $entity) {
  return [];
}