_book_admin_table

Versions
4.7 – 5
_book_admin_table($nodes = array())
6 – 7
_book_admin_table($node, &$form)

▾ 2 functions call _book_admin_table()

book_admin_edit in modules/book.module
Display an administrative view of the hierarchy of a book.
book_admin_orphan in modules/book.module
Menu callback; displays a listing of all orphaned book pages.

Code

modules/book.module, line 829

<?php
function _book_admin_table($nodes = array()) {
  $form = array(
    '#theme' => 'book_admin_table',
    '#tree' => TRUE,
  );

  foreach ($nodes as $node) {
    $form = array_merge($form, _book_admin_table_tree($node, 0));
  }

  return $form;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.