book_type_is_allowed
- Versions
- 6 – 7
book_type_is_allowed($type)
Determine if a given node type is in the list of types allowed for books.
Code
modules/book/book.module, line 967
<?php
function book_type_is_allowed($type) {
return in_array($type, variable_get('book_allowed_types', array('book')));
}
?>Login or register to post comments 