public function Simple::getUrls in Siteimprove 8
Return default domain.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: We don't use the entity in this plugin.
Return value
array Array of domains.
Overrides SiteimproveDomainBase::getUrls
File
- src/
Plugin/ SiteimproveDomain/ Simple.php, line 82
Class
- Simple
- Provides simple plugin instance of Siteimprove Domain settings.
Namespace
Drupal\siteimprove\Plugin\SiteimproveDomainCode
public function getUrls(EntityInterface $entity) {
$domain = $this->request
->getScheme() . '://' . $this->request
->getHttpHost();
return [
$domain,
];
}