getConfigFormNameForItemType()

Overview

public string function getConfigFormNameForItemType(
      required string itemType
)

Returns the configuration form name for the given item type. If the item type is a form field, this form will be a combination of the core formfield form + any custom configuration for the item type itself. Returns an empty string when not a form field and when no configuration exists.

Arguments

NameTypeRequiredDescription
itemTypestringYesThe item type whose config form name you wish to retrieve