You are here

function FieldModifier::rand in Realistic Dummy Content 8

Generate a random number, or during tests, give the first available number.

File

api/src/manipulators/FieldModifier.php, line 249
Define autoload class.

Class

FieldModifier
Field modifier class.

Namespace

Drupal\realistic_dummy_content_api\manipulators

Code

function rand($start, $end) {
  $return = realistic_dummy_content_api_rand($start, $end, $this
    ->GetHash());
  return $return;
}