protected function getCustomizedRuleKeysToExclude(array $customRules)
    {
        $keys = [];

        foreach ($customRules as $key => $ruleParts) {

            // If the set value for this key is false/null, the rule must be ignored entirely.
            // This will disable enrichment using form field rules.
            if (false === $ruleParts || empty($ruleParts)) {
                $keys[] = $key;
            }
        }

        return $keys;
    }
protected function getCustomizedRuleKeysToExclude(array $customRules)
    {
        $keys = [];

        foreach ($customRules as $key => $ruleParts) {

            // If the set value for this key is false/null, the rule must be ignored entirely.
            // This will disable enrichment using form field rules.
            if (false === $ruleParts || empty($ruleParts)) {
                $keys[] = $key;
            }
        }

        return $keys;
    }
protected function getCustomizedRuleKeysToExclude ( array $ customRules ) { $ keys = [ ] ; foreach ( $ customRules as $ key => $ ruleParts ) { // If the set value for this key is false/null, the rule must be ignored entirely. // This will disable enrichment using form field rules. if ( false === $ ruleParts || empty ( $ ruleParts ) ) { $ keys [ ] = $ key ; } } return $ keys ; }
Returns keys for rules that should not be included by custom configuration.

@param array $customRules
@return string[]
Returns keys for rules that should not be included by custom configuration .