You are here

function devel_generate_batch_content_add_node in Devel 7

Same name and namespace in other branches
  1. 6 devel_generate_batch.inc \devel_generate_batch_content_add_node()

Batch API callback: Generate nodes.

1 string reference to 'devel_generate_batch_content_add_node'
devel_generate_batch_content in devel_generate/devel_generate_batch.inc
Form constructor generating in batches.

File

devel_generate/devel_generate_batch.inc, line 51

Code

function devel_generate_batch_content_add_node(&$context) {
  module_load_include('inc', 'devel_generate', 'devel_generate');
  devel_generate_content_add_node($context['results']);
  $context['results']['num_nids']++;
}