Set a variable that will be passed to the output view.
You can also do this by having your execute() method(s) return an associative array of variables to send to the view file.
// basic usage $process->setViewVars($key); // usage with all arguments $process->setViewVars($key, $value = null);
Property to set, or array of
Value to set
Object instance it was called from (method supports fluent interface).
Method can throw exceptions on error:
WireException- if given an invalid type for $key
API reference based on ProcessWire core version 3.0.178