You are here

public function MappedObjectInterface::setDrupalEntity in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/MappedObjectInterface.php \Drupal\salesforce_mapping\Entity\MappedObjectInterface::setDrupalEntity()
  2. 8.3 modules/salesforce_mapping/src/Entity/MappedObjectInterface.php \Drupal\salesforce_mapping\Entity\MappedObjectInterface::setDrupalEntity()

Set a Drupal entity for this mapped object.

Return value

$this

1 method overrides MappedObjectInterface::setDrupalEntity()
MappedObject::setDrupalEntity in modules/salesforce_mapping/src/Entity/MappedObject.php
Set a Drupal entity for this mapped object.

File

modules/salesforce_mapping/src/Entity/MappedObjectInterface.php, line 132

Class

MappedObjectInterface
Mapped Object interface.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function setDrupalEntity(EntityInterface $entity = NULL);