-
Notifications
You must be signed in to change notification settings - Fork 1
Batch update node example
sinsunsan edited this page Dec 19, 2012
·
5 revisions
Example of settings a batch to update a type of node
<?php
/**
* Implements hook_menu().
*/
function rue89_qr_menu() {
$items = array();
$items['admin/news/batch/qr-update-statuses'] = array(
'title' => 'Update QR statuses',
'type' => MENU_CALLBACK,
'page callback' => 'rue89_qr_batch_qr_update_statuses',
'page arguments' => array(),
'access arguments' => array('administer site configuration'),
);
}