function _maxlength_node_type_from_id in Maxlength 6
Same name and namespace in other branches
- 5 maxlength.module \_maxlength_node_type_from_id()
2 calls to _maxlength_node_type_from_id()
File
- ./
maxlength.module, line 166
Code
function _maxlength_node_type_from_id($nid) {
$node = node_load($nid);
return $node->type;
}