You are here

function devel_generate_operation in Devel 4.x

Same name and namespace in other branches
  1. 8.3 devel_generate/ \devel_generate_operation()
  2. 8 devel_generate/ \devel_generate_operation()
  3. 8.2 devel_generate/ \devel_generate_operation()

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

2 string references to 'devel_generate_operation'
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.


devel_generate/, line 13
Provides common batch functions for every DevelGeneratePlugin.


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