You are here

public function CorrespondingReferenceInterface::synchronizeCorrespondingFields in Corresponding Entity References 8.4

Synchronizes corresponding fields on the given entity.

Parameters

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

bool $deleted: Whether the entity is deleted.

1 method overrides CorrespondingReferenceInterface::synchronizeCorrespondingFields()
CorrespondingReference::synchronizeCorrespondingFields in src/Entity/CorrespondingReference.php
Synchronizes corresponding fields on the given entity.

File

src/Entity/CorrespondingReferenceInterface.php, line 170

Class

CorrespondingReferenceInterface
Defines the interface for corresponding reference config entities.

Namespace

Drupal\cer\Entity

Code

public function synchronizeCorrespondingFields(FieldableEntityInterface $entity, $deleted);