function node_form_block_add_block_form_alter in Drupal 7
Implements hook_form_FORMID_alter().
Adds node-type specific visibility options to add block form.
See also
File
- modules/
node/ node.module, line 2413 - 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_add_block_form_alter(&$form, &$form_state) {
node_form_block_admin_configure_alter($form, $form_state);
}