Textformatter::formatValue()

Format the given text string with Page and Field provided.

Module developers may override this function completely when providing your own text formatter. No need to call the parent.

Usage

$textformatter->formatValue(Page $page, Field $field, $value);

Arguments

NameType(s)Description
$pagePage
$fieldField
$valuestring mixed

Value is provided as a reference, so is modified directly (not returned).


Textformatter methods and properties

API reference based on ProcessWire core version 3.0.253