book_type_is_allowed

6 book.module book_type_is_allowed($type)
7 book.module book_type_is_allowed($type)
8 book.module book_type_is_allowed($type)

Determine if a given node type is in the list of types allowed for books.

1 call to book_type_is_allowed()

File

modules/book/book.module, line 1289
Allows users to create and organize related content in an outline.

Code

function book_type_is_allowed($type) {
  return in_array($type, variable_get('book_allowed_types', array('book')));
}
Login or register to post comments