Add max depth for entity reference + config form
Closes #3480494 Avoid inifite loop when entity reference other entity in circle. Added a max depth in the config to handle this
Closes #3480494 Avoid inifite loop when entity reference other entity in circle. Added a max depth in the config to handle this