node_admin_content

Versions
5
node_admin_content()
6
node_admin_content($form_state)
7
node_admin_content($form, $form_state)

Menu callback: content administration.

Code

modules/node/node.module, line 1609

<?php
function node_admin_content() {
  $output = drupal_get_form('node_filter_form');

  if ($_POST['operation'] == 'delete' && $_POST['nodes']) {
    return drupal_get_form('node_multiple_delete_confirm');
  }
  // Call the form first, to allow for the form_values array to be populated.
  $output .= drupal_get_form('node_admin_nodes');

  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.