field_cron

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 field_cron()

Implements hook_cron().

Purges some deleted Field API data, if any exists.

Related topics

Code

modules/field/field.module, line 365

<?php
function field_cron() {
  field_sync_field_status();
  $limit = variable_get('field_purge_batch_size', 10);
  field_purge_batch($limit);
}
?>