public function MaestroTraceDeleteProcess::buildForm in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Form/MaestroTraceDeleteProcess.php \Drupal\maestro\Form\MaestroTraceDeleteProcess::buildForm()
Parameters
int $idList: (optional) This is the discrete ID or the list of task IDs to delete.
Overrides ConfirmFormBase::buildForm
File
- src/
Form/ MaestroTraceDeleteProcess.php, line 84
Class
- MaestroTraceDeleteProcess
- The confirm form for deleting a process.
Namespace
Drupal\maestro\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $processID = NULL, $idList = NULL) {
$this->id = $idList;
$this->processID = $processID;
$this->templateName = MaestroEngine::getTemplateIdFromProcessId($processID);
return parent::buildForm($form, $form_state);
}