function node_form_block_custom_block_delete_alter
7.x node.module | node_form_block_custom_block_delete_alter(&$form, &$form_state) |
Implements hook_form_FORMID_alter().
Adds node specific submit handler to delete custom block form.
See also
File
- drupal-7.x/
modules/ node/ node.module, line 2481 - The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.
Code
function node_form_block_custom_block_delete_alter(&$form, &$form_state) {
$form['#submit'][] = 'node_form_block_custom_block_delete_submit';
}