function disable_breadcrumbs_node_operations in Disable breadcrumbs 6
Same name and namespace in other branches
- 7 disable_breadcrumbs.module \disable_breadcrumbs_node_operations()
Implementation of hook_node_operations().
File
- ./
disable_breadcrumbs.module, line 133 - Disable breadcrumbs
Code
function disable_breadcrumbs_node_operations() {
$operations = array(
'disable_breadcrumbs' => array(
'label' => t('Disable breadcrumbs on selected nodes'),
'callback' => 'disable_breadcrumbs_operations',
'callback arguments' => array(
'action' => 'disable_breadcrumbs',
),
),
'enable_breadcrumbs' => array(
'label' => t('Enable breadcrumbs on selected nodes'),
'callback' => 'disable_breadcrumbs_operations',
'callback arguments' => array(
'action' => 'enable_breadcrumbs',
),
),
);
return $operations;
}