You are here

function RealisticDummyContentFieldModifier::rand in Realistic Dummy Content 7

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

File

api/includes/RealisticDummyContentEntityFieldModifier.inc, line 172
Define RealisticDummyContentFieldModifier autoload class.

Class

RealisticDummyContentFieldModifier
Field modifier class.

Code

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