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