field_cron

field_cron()

Implements hook_cron().

Related topics

Field API
Attaches custom data fields to Drupal entities.

File

core/modules/field/field.module, line 164
Attach custom data fields to Drupal entities.

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);
}
doc_Drupal
2016-10-29 09:12:58
Comments
Leave a Comment

Please login to continue.