You are here

public function RealisticDummyContentEntityBase::getEntity in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/includes/RealisticDummyContentEntityBase.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEntityBase::getEntity()
  2. 3.x api/src/includes/RealisticDummyContentEntityBase.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEntityBase::getEntity()

Getter for the entity.

4 calls to RealisticDummyContentEntityBase::getEntity()
RealisticDummyContentEntityBase::getBundle in api/src/includes/RealisticDummyContentEntityBase.php
Get the bundle of the entity being manipulated.
RealisticDummyContentFieldModifier::addModifier in api/src/includes/RealisticDummyContentFieldModifier.php
Adds a modifier to a list of attribute modifiers.
RealisticDummyContentFieldModifier::getProperties in api/src/includes/RealisticDummyContentFieldModifier.php
Get properties for the entity, for example user's picture or node's name.
RealisticDummyContentFieldModifier::getUid in api/src/includes/RealisticDummyContentFieldModifier.php
Get the uid property of this entity, or 0.

File

api/src/includes/RealisticDummyContentEntityBase.php, line 57

Class

RealisticDummyContentEntityBase
Generic entity manipulator.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function getEntity() {
  return $this->entity;
}