function field_cron
Same name in other branches
- 7.x modules/field/field.module \field_cron()
- 8.9.x core/modules/field/field.module \field_cron()
- 10 core/modules/field/field.module \field_cron()
- 11.x core/modules/field/field.module \field_cron()
Implements hook_cron().
Related topics
File
-
core/
modules/ field/ field.module, line 166
Code
function field_cron() {
// Do a pass of purging on deleted Field API data, if any exists.
$limit = \Drupal::config('field.settings')->get('purge_batch_size');
field_purge_batch($limit);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.