getViewGroupForProperty()
Overview
public string function getViewGroupForProperty(
required string objectName
, required string propertyName
)
Returns the view group for a property. View group will be used in the default rendering of an admin view for an object record
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object to which the property belongs |
propertyName | string | Yes | Name of the property whose group you wish to get |