LiquidExtension
OCP App SDK / LiquidExtension
Class: abstract
LiquidExtension
abstract
LiquidExtensionDefined in: src/app/LiquidExtension.ts:25
Defines the interface of a liquid extension, which allows an app to expose custom functionality into the content
rendering pipeline.
Constructors
Constructor
new LiquidExtension():
LiquidExtension
Returns
LiquidExtension
Methods
perform()
abstract
perform(context
,input
):Promise
<LiquidExtensionResult
>
Defined in: src/app/LiquidExtension.ts:34
Performs the liquid extension.
Parameters
context
of the liquid call
input
any input data provided by the liquid template
Returns
Promise
<LiquidExtensionResult
>
either successful output (via LiquidExtensionResult.success) or an error message
(via LiquidExtensionResult.error)
Async
Updated 3 days ago