PagesLoader::loader method
Set whether loaded pages have their outputFormatting turned on or off
By default, it is turned on.
Usage
// basic usage
$pages->loader->setOutputFormatting();
// usage with all arguments
$pages->loader->setOutputFormatting(bool $outputFormatting = true);Arguments
| Name | Type(s) | Description |
|---|---|---|
$outputFormatting (optional) | bool |
$pages->loader methods and properties
API reference based on ProcessWire core version 3.0.253