book_type_is_allowed

Definition

book_type_is_allowed($type)
drupal/modules/book/book.module, line 1081

Description

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

Code

function book_type_is_allowed($type) {
  return in_array($type, variable_get('book_allowed_types', array('book')));
}