diff --git a/core/modules/field/field.module b/core/modules/field/field.module
index 7fac3d2..cb25bb4 100644
--- a/core/modules/field/field.module
+++ b/core/modules/field/field.module
@@ -323,8 +323,7 @@ function field_cron() {
   field_sync_field_status();
 
   // Do a pass of purging on deleted Field API data, if any exists.
-  $limit = config('field.settings')->get('purge_batch_size');
-  field_purge_batch($limit);
+  field_purge_batch(config('field.settings')->get('purge_batch_size'));
 }
 
 /**
diff --git a/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php b/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
index 8211ce8..64bf26e 100644
--- a/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
+++ b/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
@@ -288,7 +288,7 @@ function testPurgeField() {
     $this->assertEqual(count($mem), 0, 'No field hooks were called.');
 
     // Purge the data.
-    field_purge_batch(10);
+    field_purge_batch(config('field.settings')->get('purge_batch_size'));
 
     // Check hooks invocations.
     // - hook_field_load() (multiple hook) should have been called once, for all
@@ -319,7 +319,7 @@ function testPurgeField() {
     $this->assertEqual(count($mem), 0, 'No field hooks were called.');
 
     // Purge the data.
-    field_purge_batch(10);
+    field_purge_batch(config('field.settings')->get('purge_batch_size'));
 
     // Check hooks invocations (same as above, for the 2nd bundle).
     $actual_hooks = field_test_memorize();
diff --git a/core/modules/field_ui/field_ui.admin.inc b/core/modules/field_ui/field_ui.admin.inc
index 1c29e13..35f8039 100644
--- a/core/modules/field_ui/field_ui.admin.inc
+++ b/core/modules/field_ui/field_ui.admin.inc
@@ -775,7 +775,7 @@ function field_ui_field_delete_form_submit($form, &$form_state) {
   // to field_purge_batch() will remove it from the system. Call this with a
   // low batch limit to avoid administrators having to wait for cron runs when
   // removing instances that meet this criteria.
-  field_purge_batch(10);
+  field_purge_batch(config('field.settings')->get('purge_batch_size'));
 }
 
 /**
diff --git a/core/modules/forum/forum.install b/core/modules/forum/forum.install
index 56f8402..5563011 100644
--- a/core/modules/forum/forum.install
+++ b/core/modules/forum/forum.install
@@ -122,7 +122,7 @@ function forum_uninstall() {
   field_delete_field('taxonomy_forums');
   // Purge field data now to allow taxonomy module to be uninstalled
   // if this is the only field remaining.
-  field_purge_batch(10);
+  field_purge_batch(config('field.settings')->get('purge_batch_size'));
 }
 
 /**
