1.20.x field.module | field_cron() |
Implements hook_cron().
Related topics
File
- modules/
field/ field.module, line 311 - Attach custom data fields to Backdrop entities.
Code
function field_cron() {
// Refresh the 'active' status of fields.
field_sync_field_status();
// Do a pass of purging on deleted Field API data, if any exists.
$limit = config_get('system.core', 'field_purge_batch_size');
field_purge_batch($limit);
}