function domain_content_admin in Domain Access 6.2
Same name and namespace in other branches
- 5 domain_content/domain_content.module \domain_content_admin()
- 7.3 domain_content/domain_content.admin.inc \domain_content_admin()
- 7.2 domain_content/domain_content.admin.inc \domain_content_admin()
Content admin page callback.
Return value
A themed HTML batch content editing form.
1 call to domain_content_admin()
- domain_content_view in domain_content/
domain_content.admin.inc - Content administration for a specific domain. This callback puts the user on the current domain and then fetches the appropirate content for batch editing.
File
- domain_content/
domain_content.admin.inc, line 140 - Administration pages for Domain Content.
Code
function domain_content_admin() {
// Load the form basics for administering nodes.
include_once drupal_get_path('module', 'node') . '/node.admin.inc';
$output = drupal_get_form('node_filter_form');
if (isset($_POST['nodes']) && $_POST['operation'] == 'delete') {
return drupal_get_form('node_multiple_delete_confirm', $_POST['nodes']);
}
// Call the form first, to allow for the form_values array to be populated.
$output .= drupal_get_form('domain_content_form');
return $output;
}