function _book_link_defaults
Same name and namespace in other branches
- 7.x drupal-7.x/modules/book/book.module \_book_link_defaults()
Return an array with default values for a book link.
2 calls to _book_link_defaults()
- book_nodeapi in drupal-6.x/
modules/ book/ book.module - Implementation of hook_nodeapi().
- book_outline_form in drupal-6.x/
modules/ book/ book.pages.inc - Build the form to handle all book outline operations via the outline tab.
Archivo
- drupal-6.x/
modules/ book/ book.module, line 771 - Allows users to structure the pages of a site in a hierarchy or outline.
Código
function _book_link_defaults($nid) {
return array(
'original_bid' => 0,
'menu_name' => '',
'nid' => $nid,
'bid' => 0,
'router_path' => 'node/%',
'plid' => 0,
'mlid' => 0,
'has_children' => 0,
'weight' => 0,
'module' => 'book',
'options' => array(),
);
}