ProcessController::setProcessMethodName()

Set the name of the method to execute in the Process

It is only necessary to call this if you want to override the default behavior. The default behavior is to execute a method called "execute()" OR "executeSegment()" where "Segment" is the last URL segment in the request URL.

Usage

$processController->setProcessMethodName(string $processMethod);

Arguments

NameType(s)Description
$processMethodstring

ProcessController methods and properties

API reference based on ProcessWire core version 3.0.259