You are here

public function CorrespondingReference::getBundles in Corresponding Entity References 8.4

Gets an array of referenced bundle names keyed by entity ID.

Return value

array The referenced bundles, keyed by entity ID.

Overrides CorrespondingReferenceInterface::getBundles

1 call to CorrespondingReference::getBundles()
CorrespondingReference::isValid in src/Entity/CorrespondingReference.php
Checks if this corresponding reference is valid for the provided entity.

File

src/Entity/CorrespondingReference.php, line 172

Class

CorrespondingReference
Defines a corresponding reference entity.

Namespace

Drupal\cer\Entity

Code

public function getBundles() {
  return $this->bundles;
}