You are here

public function CorrespondingReferenceStorageInterface::loadValid in Corresponding Entity References 8.4

Loads the valid corresponding reference config entities for the given entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity.

Return value

\Drupal\cer\Entity\CorrespondingReferenceInterface[] The valid corresponding references.

1 method overrides CorrespondingReferenceStorageInterface::loadValid()
CorrespondingReferenceStorage::loadValid in src/CorrespondingReferenceStorage.php
Loads the valid corresponding reference config entities for the given entity.

File

src/CorrespondingReferenceStorageInterface.php, line 22

Class

CorrespondingReferenceStorageInterface
Defines the interface for corresponding reference storage.

Namespace

Drupal\cer

Code

public function loadValid(EntityInterface $entity);