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
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object whose property you wish to get the renderer for |
propertyName | string | Yes | Name of the property you wish to get the renderer for |