function node_admin_content

7.x node.admin.inc node_admin_content($form, $form_state)

Page callback: Form constructor for the content administration form.

See also

node_admin_nodes()

node_admin_nodes_submit()

node_admin_nodes_validate()

node_filter_form()

node_filter_form_submit()

node_menu()

node_multiple_delete_confirm()

node_multiple_delete_confirm_submit()

Related topics

1 string reference to 'node_admin_content'
node_menu in drupal/modules/node/node.module
Implements hook_menu().

File

drupal/modules/node/node.admin.inc, line 405
Content administration and module settings UI.

Code

function node_admin_content($form, $form_state) {
  if (isset($form_state['values']['operation']) && $form_state['values']['operation'] == 'delete') {
    return node_multiple_delete_confirm($form, $form_state, array_filter($form_state['values']['nodes']));
  }
  $form['filter'] = node_filter_form();
  $form['#submit'][] = 'node_filter_form_submit';
  $form['admin'] = node_admin_nodes();

  return $form;
}