You are here

function RealisticDummyContentEntityBase::SetEntity in Realistic Dummy Content 7

Updates the entity object.

Used by functions which manipulate fields and properties. Once they are done with the manipulations, they update the entity using this function.

File

api/includes/RealisticDummyContentEntityBase.inc, line 82
Define RealisticDummyContentEntityBase autoload class.

Class

RealisticDummyContentEntityBase
Generic entity manipulator.

Code

function SetEntity($entity) {
  $this->entity = $entity;
}