You are here

static function RealisticDummyContentRecipe::Run in Realistic Dummy Content 7

1 call to RealisticDummyContentRecipe::Run()
realistic_dummy_content_api_apply_recipe in api/realistic_dummy_content_api.module
Attempts to generate all realistic content for the current site.

File

api/includes/RealisticDummyContentRecipe.inc, line 12
Define RealisticDummyContentRecipe autoload class.

Class

RealisticDummyContentRecipe
@file

Code

static function Run($log) {
  self::StartTime('run');
  self::$log = $log;
  $objects = self::FindObjects();
  foreach ($objects as $object) {
    $object
      ->_Run_();
  }
  self::$log
    ->log(t('Realistic dummy content generation operation completed in @time milliseconds', array(
    '@time' => self::StopTime('run'),
  )));
}