You are here

function linkchecker_block_add_form_submit in Link checker 6.2

Same name and namespace in other branches
  1. 5.2 linkchecker.module \linkchecker_block_add_form_submit()

Custom submit handler for block add page.

1 string reference to 'linkchecker_block_add_form_submit'
linkchecker_form_alter in ./linkchecker.module

File

./linkchecker.module, line 866
This module periodically check links in given node types, blocks, cck fields, etc.

Code

function linkchecker_block_add_form_submit($form, &$form_state) {
  if (variable_get('linkchecker_scan_blocks', 0)) {
    $bid = db_result(db_query("SELECT MAX(bid) FROM {boxes}"));
    _linkchecker_add_box_links($form_state['values'], $bid);
  }
}