saveLayoutConfig()
Overview
public boolean function saveLayoutConfig(
required string layout
, required struct config
, string emailTemplate = ""
, string blueprint = ""
, string customLayout = ""
)
Saves the given layout configuration in the database.
Arguments
Name | Type | Required | Description |
---|---|---|---|
layout | string | Yes | ID of the layout whose configuration you want to save |
config | struct | Yes | Struct of configuration data to save |
emailTemplate | string | No (default="") | Optional ID of a specific email template whose layout configuration you wish to save |
blueprint | string | No (default="") | Optional ID of a specific email blueprint whose layout configuration you wish to save |
customLayout | string | No (default="") | Optional reference of custom config whose layout configuration you wish to save |