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();
        }
    }
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();
        }
    }
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 ( ) ; } }
Process the submit on the Installation "default settings" form.

@param FormDefaultSettings $form
Process the submit on the Installation default settings form .