- Issue created by @RichardGaunt
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