function domain_content_admin in Domain Access 5
Same name and namespace in other branches
- 6.2 domain_content/domain_content.admin.inc \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.module - 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.module, line 178 - Editorial overview module.
Code
function domain_content_admin() {
$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('domain_content_form');
return $output;
}