src/Forms/Form.php
public function actionIsValidationExempt($action)
    {
        // Non-actions don't bypass validation
        if (!$action) {
            return false;
        }
        if ($action->getValidationExempt()) {
            return true;
        }
        if (in_array($action->actionName(), $this->getValidationExemptActions())) {
            return true;
        }
        return false;
    }
public function actionIsValidationExempt($action)
    {
        // Non-actions don't bypass validation
        if (!$action) {
            return false;
        }
        if ($action->getValidationExempt()) {
            return true;
        }
        if (in_array($action->actionName(), $this->getValidationExemptActions())) {
            return true;
        }
        return false;
    }
public function actionIsValidationExempt ( $ action ) { // Non-actions don't bypass validation if ( ! $ action ) { return false ; } if ( $ action -> getValidationExempt ( ) ) { return true ; } if ( in_array ( $ action -> actionName ( ) , $ this -> getValidationExemptActions ( ) ) ) { return true ; } return false ; }
Passed a FormAction, returns true if that action is exempt from Form validation

@param FormAction $action
@return bool
Passed a FormAction returns true if that action is exempt from Form validation