public static function RealisticDummyContentRecipe::run in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentRecipe.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentRecipe::run()
- 3.x api/src/includes/RealisticDummyContentRecipe.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentRecipe::run()
Run this recipe.
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/
src/ includes/ RealisticDummyContentRecipe.php, line 24
Class
- RealisticDummyContentRecipe
- Abstract base "recipe" class.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public 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'),
)));
}