function _test_batch_test_callback
Callback for batch operations.
1 string reference to '_test_batch_test_callback'
- test_batch_test_install in core/
modules/ system/ tests/ modules/ test_batch_test/ test_batch_test.install - Implements hook_install().
File
-
core/
modules/ system/ tests/ modules/ test_batch_test/ test_batch_test.install, line 31
Code
function _test_batch_test_callback($id) {
$entity = EntityTest::create([
'id' => $id,
]);
$entity->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.