function devel_generate_operation
Same name in other branches
- 4.x devel_generate/devel_generate.batch.inc \devel_generate_operation()
- 5.x devel_generate/devel_generate.batch.inc \devel_generate_operation()
Wrapping function for invoking the right method responsible for handle a given batch operation. Available for every DevelGeneratePlugin.
1 string reference to 'devel_generate_operation'
- ContentDevelGenerate::generateBatchContent in devel_generate/
src/ Plugin/ DevelGenerate/ ContentDevelGenerate.php - Method responsible for creating content when the number of elements is greater than 50.
File
-
devel_generate/
devel_generate.batch.inc, line 8
Code
function devel_generate_operation(Drupal\devel_generate\DevelGenerateBaseInterface $class, $method, $vars, &$context) {
return $class->{$method}($vars, $context);
}