getLayoutConfig()
Overview
public struct function getLayoutConfig(
required string layout
, string emailTemplate = ""
, string blueprint = ""
, string customLayout = ""
, boolean merged = false
)
Returns the saved config for an email layout and optional email template combination.
Arguments
Name | Type | Required | Description |
---|---|---|---|
layout | string | Yes | ID of the layout whose configuration you wish to get |
emailTemplate | string | No (default="") | Optional ID of specific email template whose layout configuration you wish to get |
blueprint | string | No (default="") | Optional ID of specific email blueprint whose layout configuration you wish to get |
customLayout | string | No (default="") | Optional reference of custom config whose layout configuration you wish to get |
merged | boolean | No (default=false) | If true, and layout, emailTemplate and blueprint supplied, the method will return a combined set of settings (global, blueprint + template specific) |