| 1 |
<?php |
<?php |
| 2 |
// $Id: book.views.inc,v 1.5 2008/12/02 19:37:08 merlinofchaos Exp $ |
// $Id: book.views.inc,v 1.5.6.1 2009/11/02 22:01:26 merlinofchaos Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Provide views data and handlers for book.module |
* Provide views data and handlers for book.module |
| 31 |
'help' => t('The book the node is in.'), |
'help' => t('The book the node is in.'), |
| 32 |
'relationship' => array( |
'relationship' => array( |
| 33 |
'base' => 'node', |
'base' => 'node', |
| 34 |
'field' => 'bid', |
'base field' => 'bid', |
| 35 |
'handler' => 'views_handler_relationship', |
'handler' => 'views_handler_relationship', |
| 36 |
'label' => t('Book'), |
'label' => t('Book'), |
| 37 |
), |
), |
| 111 |
'help' => t('The parent book node.'), |
'help' => t('The parent book node.'), |
| 112 |
'relationship' => array( |
'relationship' => array( |
| 113 |
'base' => 'node', |
'base' => 'node', |
| 114 |
'field' => 'nid', |
'base field' => 'nid', |
| 115 |
'handler' => 'views_handler_relationship', |
'handler' => 'views_handler_relationship', |
| 116 |
'label' => t('Book parent'), |
'label' => t('Book parent'), |
| 117 |
), |
), |