A service to transform content.
More...
A service to transform content.
- Since
- 1.37
Definition at line 15 of file ContentTransformer.php.
◆ __construct()
◆ preloadTransform()
Returns a Content object with preload transformations applied (or $content if no transformations apply).
- Parameters
-
| Content | $content | |
| PageReference | $page | |
| ParserOptions | $parserOptions | |
| array | $params | |
- Returns
- Content
Definition at line 60 of file ContentTransformer.php.
◆ preSaveTransform()
Returns a Content object with pre-save transformations applied (or $content if no transformations apply).
- Parameters
-
| Content | $content | |
| PageReference | $page | |
| UserIdentity | $user | |
| ParserOptions | $parserOptions | |
- Returns
- Content
Definition at line 37 of file ContentTransformer.php.
The documentation for this class was generated from the following file: