public function ContentDevelGenerate::batchContentKill in Devel 8.2
Same name and namespace in other branches
- 8.3 devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php \Drupal\devel_generate\Plugin\DevelGenerate\ContentDevelGenerate::batchContentKill()
- 8 devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php \Drupal\devel_generate\Plugin\DevelGenerate\ContentDevelGenerate::batchContentKill()
- 4.x devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php \Drupal\devel_generate\Plugin\DevelGenerate\ContentDevelGenerate::batchContentKill()
File
- devel_generate/
src/ Plugin/ DevelGenerate/ ContentDevelGenerate.php, line 406
Class
- ContentDevelGenerate
- Provides a ContentDevelGenerate plugin.
Namespace
Drupal\devel_generate\Plugin\DevelGenerateCode
public function batchContentKill($vars, &$context) {
if ($this->drushBatch) {
$this
->contentKill($vars);
}
else {
$this
->contentKill($context['results']);
}
}