You are here

function node_form_block_custom_block_delete_alter in Drupal 7

Implements hook_form_FORMID_alter().

Adds node specific submit handler to delete custom block form.

See also

block_custom_block_delete()

File

modules/node/node.module, line 2475
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';
}