function 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 404
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.