Skip to main content

UseCustomFieldConfig

useCustomFieldConfig

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.

Signature
function useCustomFieldConfig(entityType: string): CustomFieldConfig[]

Parameters

entityType

parameter
string