Hi, I have written a plugin which creates custom fields and adds that to my project. I want to make my custom field required. I was looking for a solution but did not find any suitable method in the API as far as I have searched. In the GUI, in field configurations, once we select a field configuration, we get some options called hide and required. I am thinking, I will find something similar in the API when I go through FieldConfigScheme and fieldLayout. But I did not find any suitable method. I am in need of a solution. Can anybody in the community help me with this as soon as possible as I have already spent a couple o days going through the API.