Issue #3291887 by alexpott, Spokje: Fix outdated references to form_type_checkboxes_value()

merge-requests/2103/head
catch 2022-07-13 16:06:39 +09:00
parent ca9a0e1ee4
commit 1bb8f3b35b
2 changed files with 6 additions and 4 deletions

View File

@ -158,8 +158,9 @@ class InstallCommand extends Command {
],
],
'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,
],
],

View File

@ -548,8 +548,9 @@ trait FunctionalTestSetupTrait {
'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,
],