You are here

function mobile_tools_nodeapi in Mobile Tools 6

Same name and namespace in other branches
  1. 6.3 mobile_tools.module \mobile_tools_nodeapi()
  2. 6.2 mobile_tools.module \mobile_tools_nodeapi()

Implementation of hook_nodeapi

File

./mobile_tools.module, line 682
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_is_mobile_site() && variable_get('mobile_tools_enable_build_mode', 0)) {
    $node->build_mode = 'mobile_tools';
  }
}