function devel_generate_operation in Devel 8
Same name and namespace in other branches
- 8.3 devel_generate/devel_generate.batch.inc \devel_generate_operation()
- 8.2 devel_generate/devel_generate.batch.inc \devel_generate_operation()
- 4.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);
}