You are here

public function CorrespondingReferenceInterface::setBundles in Corresponding Entity References 8.4

Sets the array of referenced bundle names keyed by entity ID.

Parameters

array $bundles: The new referenced bundle names, keyed by entity ID.

Return value

$this

1 method overrides CorrespondingReferenceInterface::setBundles()
CorrespondingReference::setBundles in src/Entity/CorrespondingReference.php
Sets the array of referenced bundle names keyed by entity ID.

File

src/Entity/CorrespondingReferenceInterface.php, line 101

Class

CorrespondingReferenceInterface
Defines the interface for corresponding reference config entities.

Namespace

Drupal\cer\Entity

Code

public function setBundles(array $bundles);