FormBuilderProcessorAction::error()

Record an error message

Usage

// basic usage
$formBuilderProcessorAction->error($text);

// usage with all arguments
$formBuilderProcessorAction->error($text, $flags = 0);

Arguments

NameType(s)Description
$textstring array Wire

Text to include in the notice

$flags (optional)int bool string

Optional flags to alter default behavior:

Return value

$this

Object instance it was called from (method supports fluent interface).

See Also


FormBuilderProcessorAction methods and properties

API reference based on ProcessWire core version 3.0.275