Skip navigation
Help

field_cron

7 field.module field_cron()

Implements hook_cron().

Purges some deleted Field API data, if any exists.

Related topics

File

drupal/modules/field/field.module, line 372
Attach custom data fields to Drupal entities.

Code

function field_cron() {
  $limit = variable_get('field_purge_batch_size', 10);
  field_purge_batch($limit);
}