You are here

function EntityBase::SetEntity in Realistic Dummy Content 8

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/src/manipulators/EntityBase.php, line 63
Define autoload class.

Class

EntityBase
Generic entity manipulator.

Namespace

Drupal\realistic_dummy_content_api\manipulators

Code

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