for #25376 allow custom resolvers to validate in toolkit template paths

This allows you to use keywords defined in the custom_template_fields
setting in your toolkit template paths.