You are here

public function DomainElementManagerInterface::getFieldValues in Domain Access 8

Gets the domain entity reference field values from an entity.

Parameters

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

string $field_name: The name of the field that holds our data.

Return value

array The domain access field values, keyed by id (machine_name) with value of the numeric domain_id used by node access.

1 method overrides DomainElementManagerInterface::getFieldValues()
DomainElementManager::getFieldValues in domain/src/DomainElementManager.php
Gets the domain entity reference field values from an entity.

File

domain/src/DomainElementManagerInterface.php, line 88

Class

DomainElementManagerInterface
Handles hidden field options for domain entity references.

Namespace

Drupal\domain

Code

public function getFieldValues(EntityInterface $entity, $field_name);