src/Shop/AdvancedConfigForm.php
protected function validateRelationFields()
    {
        if (empty($this->submittedValues['sendCustomer']) && !empty($this->submittedValues['emailAsPdf'])) {
            $this->warningMessages['conflicting_options'] = $this->t('message_validate_conflicting_options');
        }
    }
protected function validateRelationFields()
    {
        if (empty($this->submittedValues['sendCustomer']) && !empty($this->submittedValues['emailAsPdf'])) {
            $this->warningMessages['conflicting_options'] = $this->t('message_validate_conflicting_options');
        }
    }
protected function validateRelationFields ( ) { if ( empty ( $ this -> submittedValues [ 'sendCustomer' ] ) && ! empty ( $ this -> submittedValues [ 'emailAsPdf' ] ) ) { $ this -> warningMessages [ 'conflicting_options' ] = $ this -> t ( 'message_validate_conflicting_options' ) ; } }
Validates fields in the relation management settings fieldset.
Validates fields in the relation management settings fieldset .