Commit eda8ea4c authored by catch's avatar catch
Browse files

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

(cherry picked from commit 1bb8f3b3)
parent ca515e51
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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,
        ],
      ],
+3 −2
Original line number Diff line number Diff line
@@ -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,
        ],