public function MappedObjectInterface::setDrupalEntity in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/MappedObjectInterface.php \Drupal\salesforce_mapping\Entity\MappedObjectInterface::setDrupalEntity()
- 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\EntityCode
public function setDrupalEntity(EntityInterface $entity = NULL);