getRendererForField()

Overview

public string function getRendererForField(
      required string objectName  
    , required string propertyName
)

Returns either the defined or default admin renderer for the given preside object property for rendering in an admin record view.

Arguments

NameTypeRequiredDescription
objectNamestringYesName of the object whose property you wish to get the renderer for
propertyNamestringYesName of the property you wish to get the renderer for