You are here

public function RealisticDummyContentEntityBase::getHash in Realistic Dummy Content 3.x

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

Getter for the hash which uniquely identifies this entity.

1 call to RealisticDummyContentEntityBase::getHash()
RealisticDummyContentFieldModifier::rand in api/src/includes/RealisticDummyContentFieldModifier.php
Generate a random number, or during tests, give the first available number.

File

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

Class

RealisticDummyContentEntityBase
Generic entity manipulator.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function getHash() {
  return $this->hash;
}