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