function mobile_tools_nodeapi in Mobile Tools 6.3
Same name and namespace in other branches
- 6 mobile_tools.module \mobile_tools_nodeapi()
- 6.2 mobile_tools.module \mobile_tools_nodeapi()
Implementation of hook_nodeapi
File
- ./
mobile_tools.module, line 781 - Mobile Tools provides a range of functionality assisting in creating a mobile Drupal site . this functionality contains:
Code
function mobile_tools_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
if ($op == 'load' && mobile_tools_site_type() == 'mobile' && variable_get('mobile_tools_enable_build_mode', 0)) {
$node->build_mode = 'mobile';
}
}