function hook_outline_designer_operations in Outline Designer 7.2
Implementation of hook_outline_designer_operations().
2 functions implement hook_outline_designer_operations()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- outline_designer_book_outline_designer_operations in modules/
outline_designer_book/ outline_designer_book.module - Implementation of hook_outline_designer_operations().
- outline_designer_outline_designer_operations in ./
outline_designer.module - Implements hook_outline_designer_operations().
1 invocation of hook_outline_designer_operations()
- _outline_designer_get_operations in ./
outline_designer.module - Helper function to invoke hook calls and build a list of operations.
File
- ./
outline_designer.api.php, line 11
Code
function hook_outline_designer_operations($type) {
switch ($type) {
case 'book':
// the type of operation group, outline_designer_book handles book
$ops = array(
'hidden_nodes' => array(
// the key of this operation
'title' => t('Hide node'),
// title for display in menus
'icon' => drupal_get_path('module', 'hidden_nodes') . '/images/hidden_node.png',
// the icon location for menus
'callback' => 'hidden_nodes_outline_designer_hide_node',
),
);
break;
default:
// default case of a blank array for when other things provide od types
$ops = array();
break;
}
return $ops;
}