diff --git a/core/lib/Drupal/Core/Command/InstallCommand.php b/core/lib/Drupal/Core/Command/InstallCommand.php index 2e73df37962dcb4321958c85d7e946d65b9870fb..92ca6a255a4c3cde498d969224781feca60aab76 100644 --- a/core/lib/Drupal/Core/Command/InstallCommand.php +++ b/core/lib/Drupal/Core/Command/InstallCommand.php @@ -158,8 +158,9 @@ protected function install($class_loader, SymfonyStyle $io, $profile, $langcode, ], ], 'enable_update_status_module' => TRUE, - // form_type_checkboxes_value() requires NULL instead of FALSE values - // for programmatic form submissions to disable a checkbox. + // \Drupal\Core\Render\Element\Checkboxes::valueCallback() requires + // NULL instead of FALSE values for programmatic form submissions to + // disable a checkbox. 'enable_update_status_emails' => NULL, ], ], diff --git a/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php b/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php index c102459182c318d1c8f509a1720c3a006a7d55c9..32cb051dd698512213e7cbd2651a33614af33f63 100644 --- a/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php +++ b/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php @@ -548,8 +548,9 @@ protected function installParameters() { 'pass2' => $this->rootUser->pass_raw ?? $this->rootUser->passRaw, ], ], - // form_type_checkboxes_value() requires NULL instead of FALSE values - // for programmatic form submissions to disable a checkbox. + // \Drupal\Core\Render\Element\Checkboxes::valueCallback() requires + // NULL instead of FALSE values for programmatic form submissions to + // disable a checkbox. 'enable_update_status_module' => NULL, 'enable_update_status_emails' => NULL, ],