You are here

function computed_field_tools_help in Computed Field Tools 7

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

Implements hook_help().

File

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

Code

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