diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php index 638a706ed1..8493f64bd4 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php @@ -4,6 +4,7 @@ use Drupal\Core\DependencyInjection\ContainerInjectionInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; +use Drupal\Core\Site\Settings; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -62,7 +63,7 @@ public function __construct(EntityTypeManagerInterface $entity_type_manager, $ba public static function create(ContainerInterface $container) { return new static( $container->get('entity_type.manager'), - $container->get('settings')->get('entity_update_batch_size', 50) + Settings::get('entity_update_batch_size', 50) ); }