book_type_is_allowed
Definition
book_type_is_allowed($type)
modules/book/book.module, line 967
Description
Determine if a given node type is in the list of types allowed for books.
Code
<?php
function book_type_is_allowed($type) {
return in_array($type, variable_get('book_allowed_types', array('book')));
}
?> 