function domain_content_node_operations in Domain Access 6.2
Same name and namespace in other branches
- 5 domain_content/domain_content.module \domain_content_node_operations()
- 7.3 domain_content/domain_content.module \domain_content_node_operations()
- 7.2 domain_content/domain_content.module \domain_content_node_operations()
Implement hook_node_operations()
File
- domain_content/
domain_content.module, line 158 - 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',
'configurable' => TRUE,
),
);
return $operations;
}
}