Implements hook_cron().
public function cron() : void { // 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); }