diff --git a/src/Form/SettingsForm.php b/src/Form/SettingsForm.php index 64cd4b6..069517a 100644 --- a/src/Form/SettingsForm.php +++ b/src/Form/SettingsForm.php @@ -155,7 +155,7 @@ class SettingsForm extends ConfigFormBase { '#description' => $this->t('
Set how many files will be processed at once when performing a batch / cron job
'), - '#default_value' => 100, + '#default_value' => $config->get(static::BATCH_SIZE) ?: 100, ], ]; diff --git a/src/Plugin/QueueWorker/FixityCheckWorker.php b/src/Plugin/QueueWorker/FixityCheckWorker.php index 2bc09b5..65704e5 100644 --- a/src/Plugin/QueueWorker/FixityCheckWorker.php +++ b/src/Plugin/QueueWorker/FixityCheckWorker.php @@ -4,8 +4,8 @@ namespace Drupal\dgi_fixity\Plugin\QueueWorker; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Queue\QueueWorkerBase; -use Drupal\dgi_fixity\FixityCheckServiceInterface; use Drupal\dgi_fixity\FixityCheckInterface; +use Drupal\dgi_fixity\FixityCheckServiceInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /**