function _linkchecker_batch_single_box_import_op in Link checker 6.2
1 string reference to '_linkchecker_batch_single_box_import_op'
- _linkchecker_batch_import_single_box in includes/
linkchecker.batch.inc - Recurring scans of a single block via batch API.
File
- includes/
linkchecker.batch.inc, line 262 - Batch API callbacks for the linkchecker module.
Code
function _linkchecker_batch_single_box_import_op($bid, &$context) {
// Load the box and scan for links.
$box = block_box_get($bid);
_linkchecker_add_box_links($box, $box['bid'], TRUE);
// Store some result for post-processing in the finished callback.
$context['results'][] = $box['bid'];
$context['message'] = t('Block: @title', array(
'@title' => $box['info'],
));
}