FormBuilderProcessorAction::error()
Record an error message
Usage
// basic usage
$formBuilderProcessorAction->error($text);
// usage with all arguments
$formBuilderProcessorAction->error($text, $flags = 0);Arguments
| Name | Type(s) | Description |
|---|---|---|
$text | string array Wire | Text to include in the notice |
$flags (optional) | int bool string | Optional flags to alter default behavior: |
Return value
$thisObject 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