Skip to content
Snippets Groups Projects
Commit 1bb8f3b3 authored by catch's avatar catch
Browse files

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

parent ca9a0e1e
No related branches found
No related tags found
No related merge requests found
...@@ -158,8 +158,9 @@ protected function install($class_loader, SymfonyStyle $io, $profile, $langcode, ...@@ -158,8 +158,9 @@ protected function install($class_loader, SymfonyStyle $io, $profile, $langcode,
], ],
], ],
'enable_update_status_module' => TRUE, 'enable_update_status_module' => TRUE,
// form_type_checkboxes_value() requires NULL instead of FALSE values // \Drupal\Core\Render\Element\Checkboxes::valueCallback() requires
// for programmatic form submissions to disable a checkbox. // NULL instead of FALSE values for programmatic form submissions to
// disable a checkbox.
'enable_update_status_emails' => NULL, 'enable_update_status_emails' => NULL,
], ],
], ],
......
...@@ -548,8 +548,9 @@ protected function installParameters() { ...@@ -548,8 +548,9 @@ protected function installParameters() {
'pass2' => $this->rootUser->pass_raw ?? $this->rootUser->passRaw, 'pass2' => $this->rootUser->pass_raw ?? $this->rootUser->passRaw,
], ],
], ],
// form_type_checkboxes_value() requires NULL instead of FALSE values // \Drupal\Core\Render\Element\Checkboxes::valueCallback() requires
// for programmatic form submissions to disable a checkbox. // NULL instead of FALSE values for programmatic form submissions to
// disable a checkbox.
'enable_update_status_module' => NULL, 'enable_update_status_module' => NULL,
'enable_update_status_emails' => NULL, 'enable_update_status_emails' => NULL,
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment