Preprocessor
in
Interface Preprocessor
Table of Contents
- preprocess() : array<string|int, mixed>
- Method to preprocess the content before rendering
Methods
preprocess()
Method to preprocess the content before rendering
public
preprocess(array<string|int, mixed> $parsed_blocks, array{contentSize: string, wideSize?: string, allowEditing?: bool, allowCustomContentAndWideSize?: bool} $layout, array{spacing: array{padding: array{bottom: string, left: string, right: string, top: string}, blockGap: string}} $styles) : array<string|int, mixed>
Parameters
- $parsed_blocks : array<string|int, mixed>
-
Parsed blocks of the email.
- $layout : array{contentSize: string, wideSize?: string, allowEditing?: bool, allowCustomContentAndWideSize?: bool}
-
Layout of the email.
- $styles : array{spacing: array{padding: array{bottom: string, left: string, right: string, top: string}, blockGap: string}}
-
Styles of the email.