function themekey_book_nid2has_children in ThemeKey 6.2
Same name and namespace in other branches
- 6.4 modules/themekey.book.inc \themekey_book_nid2has_children()
- 6.3 modules/themekey.book.inc \themekey_book_nid2has_children()
- 7.3 modules/themekey.book.inc \themekey_book_nid2has_children()
- 7 modules/themekey.book.inc \themekey_book_nid2has_children()
- 7.2 modules/themekey.book.inc \themekey_book_nid2has_children()
ThemeKey mapping function to set a ThemeKey property's value (destination) with the aid of another ThemeKey property (source).
src: node_nid dst: book:has_children
Parameters
$nid: a node id
Return value
boolean or NULL if no value could be mapped
1 string reference to 'themekey_book_nid2has_children'
- themekey_book_themekey_properties in modules/
themekey.book.inc - Implements hook_themekey_properties().
File
- modules/
themekey.book.inc, line 78 - Provides some comment attributes as ThemeKey properties.
Code
function themekey_book_nid2has_children($nid) {
return themekey_book_get_simple_book_property($nid, 'has_children');
}