You are here

static function Recipe::Run in Realistic Dummy Content 8

1 call to Recipe::Run()
RealisticDummyContent::apply_recipe in api/src/facade/RealisticDummyContent.php
Attempts to generate all realistic content for the current site.

File

api/src/recipes/Recipe.php, line 14
Define autoload class.

Class

Recipe

Namespace

Drupal\realistic_dummy_content_api\recipes

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'),
  )));
}