Correct typo error in breadcrumb2.views.inc file.
[project/breadcrumb2.git] / views / breadcrumb2.views.inc
1 <?php
2
3 /**
4 * @file
5 * Providing extra integration with views.
6 */
7
8
9 /**
10 * Implements hook_views_data_alter()
11 */
12 function breadcrumb2_views_data_alter(&$data) {
13 $data['breadcrumb']['link_breadcrumb'] = array(
14 'field' => array(
15 'title' => t('Link'),
16 'help' => t('Provide a link to the breadcrumb.'),
17 'handler' => 'breadcrumb2_handler_link_field',
18 ),
19 );
20 $data['breadcrumb']['edit_breadcrumb'] = array(
21 'field' => 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',
25 ),
26 );
27 $data['breadcrumb']['delete_breadcrumb'] = array(
28 'field' => array(
29 'title' => t('Delete Link'),
30 'help' => t('Provide a link to delete the breadcrumb.'),
31 'handler' => 'breadcrumb2_handler_delete_link_field',
32 ),
33 );
34 // This content of this field are decided based on the menu structure that
35 // follows breadcrumb/%breadcrumb2/op
36 $data['breadcrumb']['operations'] = array(
37 'field' => array(
38 'title' => t('Operations links'),
39 'help' => t('Display all operations available for this breadcrumb.'),
40 'handler' => 'breadcrumb2_handler_breadcrumb_operations_field',
41 ),
42 );
43 }
44