5 * Providing extra integration with views.
10 * Implements hook_views_data_alter()
12 function breadcrumb2_views_data_alter(&$data) {
13 $data['breadcrumb']['link_breadcrumb'] = array(
16 'help' => t('Provide a link to the breadcrumb.'),
17 'handler' => 'breadcrumb2_handler_link_field',
20 $data['breadcrumb']['edit_breadcrumb'] = array(
22 'title' => t('Edit Link'),
23 'help' => t('Provide a link to the edit form for the breadcrumb.'),
24 'handler' => 'breadcrumb2_handler_edit_link_field',
27 $data['breadcrumb']['delete_breadcrumb'] = array(
29 'title' => t('Delete Link'),
30 'help' => t('Provide a link to delete the breadcrumb.'),
31 'handler' => 'breadcrumb2_handler_delete_link_field',
34 // This content of this field are decided based on the menu structure that
35 // follows breadcrumb/%breadcrumb2/op
36 $data['breadcrumb']['operations'] = array(
38 'title' => t('Operations links'),
39 'help' => t('Display all operations available for this breadcrumb.'),
40 'handler' => 'breadcrumb2_handler_breadcrumb_operations_field',