function Generator::__construct in Realistic Dummy Content 8
Parameters
$more = array(): For future use.
File
- api/
src/ generators/ Generator.php, line 21 - Define autoload class.
Class
Namespace
Drupal\realistic_dummy_content_api\generatorsCode
function __construct($type, $bundle, $num, $more = array()) {
$this->type = $type;
$this->bundle = $bundle;
$this->num = $num;
if (isset($more['kill']) && $more['kill']) {
$this->kill = TRUE;
}
else {
$this->kill = FALSE;
}
}