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

NameTypeRequiredDescription
objectNamestringYesName of the object to which the property belongs
propertyNamestringYesName of the property whose group you wish to get