function domain_content_node_operations in Domain Access 7.3
Same name and namespace in other branches
- 5 domain_content/domain_content.module \domain_content_node_operations()
- 6.2 domain_content/domain_content.module \domain_content_node_operations()
- 7.2 domain_content/domain_content.module \domain_content_node_operations()
Implement hook_node_operations()
1 call to domain_content_node_operations()
- domain_content_form in domain_content/
domain_content.admin.inc - Rewrites node_admin_nodes() to use db_rewrite_sql().
File
- domain_content/
domain_content.module, line 146 - Editorial overview module.
Code
function domain_content_node_operations() {
// Only privileged users can perform this operation.
// Do not show this on the default node editing form.
if (user_access('set domain access')) {
$operations = array(
'domain' => array(
'label' => t('Change affiliate publishing options'),
'callback' => 'domain_content_node_operations_process',
),
);
return $operations;
}
return array();
}