So I am trying to hide (or disable) a field in the "Edit Entry" view in the CP.
I know how to test a user group :
{% if currentUser.isInGroup('groupHandle') %}
But I cannot find a hook in Craft Doc to change the rendering of my field ?
Perhaps with getInputHtml()
? But I dont understand exactly how...