function _linkchecker_batch_import in Link checker 5.2
Trigger batch import job.
1 call to _linkchecker_batch_import()
File
- ./
linkchecker.module, line 566 - This module periodically check links in given node types, blocks, cck fields, etc.
Code
function _linkchecker_batch_import() {
// Start batch and analyze all nodes.
$node_types = array_keys(array_filter(variable_get('linkchecker_scan_nodetypes', array())));
if (!empty($node_types)) {
_linkchecker_batch_import_nodes($node_types);
if (variable_get('linkchecker_scan_comments', 0)) {
_linkchecker_batch_import_comments($node_types);
}
}
if (variable_get('linkchecker_scan_blocks', 0)) {
_linkchecker_batch_import_boxes();
}
}