- Issue created by @RichardGaunt
- 🇦🇺Australia alex.skrypnyk Melbourne
This is very useful feature. Can it please be reviewed.
1. I have implemented `hook_twig_validator_rule_info_alter` to change some of the rules being validated
2. I would like to do the following to make the code more visible but the property visibility rules do not allow me to do this:
$info['filter']['rule_on_name'][TwigValidatorRulePluginBase::RULE_NAME_ALLOW][] = 'raw';
1. Update the RULE_NAME_ALLOW, RULE_NAME_IGNORE, RULE_NAME_FORBIDDEN to public or perhaps move to an ENUM so that they can be used in the alter hook.
Active
1.0
Code
This is very useful feature. Can it please be reviewed.