You are here

function commerce_generate_operation in Commerce Bulk 8

Wrapper for a given batch operation.

Invokes the right method responsible for handling a given batch operation. Available for this module's implementations of DevelGeneratePlugin.

1 string reference to 'commerce_generate_operation'
GenerateProducts::batchGenerateProducts in modules/commerce_generate/src/Plugin/DevelGenerate/GenerateProducts.php

File

modules/commerce_generate/commerce_generate.module, line 31
Contains commerce_generate.module.

Code

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