You are here

public function DomainAccessManagerInterface::getContentUrls in Domain Access 8

Get all possible URLs pointing to an entity.

Parameters

\Drupal\Core\Entity\FieldableEntityInterface $entity: The entity to retrieve field data from.

Return value

array An array of absolute URLs keyed by domain_id, with an known canonical id as the first element of the array.

1 method overrides DomainAccessManagerInterface::getContentUrls()
DomainAccessManager::getContentUrls in domain_access/src/DomainAccessManager.php
Get all possible URLs pointing to an entity.

File

domain_access/src/DomainAccessManagerInterface.php, line 103

Class

DomainAccessManagerInterface
Checks the access status of entities based on domain settings.

Namespace

Drupal\domain_access

Code

public function getContentUrls(FieldableEntityInterface $entity);