Returns the custom field config for the given entity type (e.g. 'Product'). Also filters out any custom fields that the current active user does not have permissions to access.
The result keeps the same identity across renders until the server config or the active user's permissions change, so it can be used as a memo dependency.
Parameters
string