I have a requirement similar to this question: Disable Experience Manager (XPM) DXA 2.0 Java, for specific CT
Rick has mentioned in his answer to create a custom model builder to achieve this. However, I cannot find any online rws docs/tutorials on creating a custom model builder.
Also, once we create a custom model builder, where do we need to register this custom model builder in a JAVA application?
How will this model builder be picked up by dxa framework?