I want to reproduce programmatically hiding of a field that can be obtain by Manage Display -> Format -> (hidden)
Field I want to hide is added by OG module. Probably. Machine name: og_user_user.
I found one solution based on hook_field_access but I need to find other.
This solution doesn't help me too.