function node_admin_content in Drupal 7
Same name and namespace in other branches
- 5 modules/node/node.module \node_admin_content()
- 6 modules/node/node.admin.inc \node_admin_content()
Page callback: Form constructor for the content administration form.
See also
node_multiple_delete_confirm()
node_multiple_delete_confirm_submit()
Related topics
1 string reference to 'node_admin_content'
- node_menu in modules/
node/ node.module - Implements hook_menu().
File
- modules/
node/ node.admin.inc, line 409 - 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;
}