function nd_build_fields_and_regions in Node displays 6.3
Same name and namespace in other branches
- 6.2 nd.module \nd_build_fields_and_regions()
Statically cached version of ds_build_fields and regions
1 call to nd_build_fields_and_regions()
- _nd_nodeapi in ./
nd.module - Helper function to alter node properties
File
- ./
nd.module, line 251 - Node displays.
Code
function nd_build_fields_and_regions(&$node) {
static $displays = array();
if (isset($displays[$node->nid])) {
$node = $displays[$node->nid];
}
else {
ds_build_fields_and_regions($node, 'nd');
$displays[$node->nid] = $node;
}
}