You are here

function computed_field_tools_help in Computed Field Tools 6

Same name and namespace in other branches
  1. 7 computed_field_tools.module \computed_field_tools_help()

Implementation of hook_help().

File

./computed_field_tools.module, line 11
This module offers a quick way to re-compute computed fields when needed.

Code

function computed_field_tools_help($path, $arg) {
  switch ($path) {
    case 'admin/content/types/computed_field_recompute':
      return '<p>' . t('The computed field tools module offers a way to re-compute the CCK computed fields of existing nodes. It does so through the Batch API.
When using the Drupal module Computed Field (CCK) you sometimes make changes to the logic behind the value in the computed field. If you wish to avoid re-saving all nodes using the computing field, you can use this tool to re-compute all the values again. It is possible to choose which field (cross nodes) to re-compute and you can also choose which node types you whish to re-compute.
When the batch is running it does not save the entire node again, but it only saves the computed field.<br />
<br />
<em>Please note that when you re-compute the nodes, the node is fetched through node_load() which means that the format of some values might defer from when you submit the node through the node edit form. $node->taxonomy does this.</em>') . '</p> ';
      break;
  }
}