function devel_generate_operation

Same name in other branches
  1. 4.x devel_generate/devel_generate.batch.inc \devel_generate_operation()

Calls the correct method responsible for handling a given batch operation.

3 string references to 'devel_generate_operation'
BlockContentDevelGenerate::generateBatchContent in devel_generate/src/Plugin/DevelGenerate/BlockContentDevelGenerate.php
Generate content in batch mode.
ContentDevelGenerate::generateBatchContent in devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php
Generate content in batch mode.
MediaDevelGenerate::generateBatchMedia in devel_generate/src/Plugin/DevelGenerate/MediaDevelGenerate.php
Method for creating media when number of elements is greater than 50.

File

devel_generate/devel_generate.batch.inc, line 13

Code

function devel_generate_operation(DevelGenerateBaseInterface $class, $method, $vars, &$context) {
    return $class->{$method}($vars, $context);
}