public function MappedObjectInterface::setDrupalEntityStub in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/MappedObjectInterface.php \Drupal\salesforce_mapping\Entity\MappedObjectInterface::setDrupalEntityStub()
- 5.0.x modules/salesforce_mapping/src/Entity/MappedObjectInterface.php \Drupal\salesforce_mapping\Entity\MappedObjectInterface::setDrupalEntityStub()
Attach a Drupal entity to the mapped object.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity to be attached.
Return value
$this
1 method overrides MappedObjectInterface::setDrupalEntityStub()
- MappedObject::setDrupalEntityStub in modules/
salesforce_mapping/ src/ Entity/ MappedObject.php - Attach a Drupal entity to the mapped object.
File
- modules/
salesforce_mapping/ src/ Entity/ MappedObjectInterface.php, line 78
Class
- MappedObjectInterface
- Mapped Object interface.
Namespace
Drupal\salesforce_mapping\EntityCode
public function setDrupalEntityStub(EntityInterface $entity = NULL);