original_string: public function installationFormSubmit(FormDefaultSettings $form)
      {
          $doNotTrack = (bool) $form->getSubmitValue('do_not_track');
          $dntChecker = new DoNotTrackHeaderChecker();
          if ($doNotTrack) {
              $dntChecker->activate();
          } else {
              $dntChecker->deactivate();
          }
  
          $anonymiseIp = (bool) $form->getSubmitValue('anonymise_ip');
          if ($anonymiseIp) {
              IPAnonymizer::activate();
          } else {
              IPAnonymizer::deactivate();
          }
      }
code: public function installationFormSubmit(FormDefaultSettings $form)
      {
          $doNotTrack = (bool) $form->getSubmitValue('do_not_track');
          $dntChecker = new DoNotTrackHeaderChecker();
          if ($doNotTrack) {
              $dntChecker->activate();
          } else {
              $dntChecker->deactivate();
          }
  
          $anonymiseIp = (bool) $form->getSubmitValue('anonymise_ip');
          if ($anonymiseIp) {
              IPAnonymizer::activate();
          } else {
              IPAnonymizer::deactivate();
          }
      }
code_tokens: public function installationFormSubmit ( FormDefaultSettings $ form ) { $ doNotTrack = ( bool ) $ form -> getSubmitValue ( 'do_not_track' ) ; $ dntChecker = new DoNotTrackHeaderChecker ( ) ; if ( $ doNotTrack ) { $ dntChecker -> activate ( ) ; } else { $ dntChecker -> deactivate ( ) ; } $ anonymiseIp = ( bool ) $ form -> getSubmitValue ( 'anonymise_ip' ) ; if ( $ anonymiseIp ) { IPAnonymizer :: activate ( ) ; } else { IPAnonymizer :: deactivate ( ) ; } }
docstring: Process the submit on the Installation "default settings" form.
  
  @param FormDefaultSettings $form
docstring_tokens: Process the submit on the Installation default settings form .