You are here

public function MaestroTraceDeleteTask::buildForm in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Form/MaestroTraceDeleteTask.php \Drupal\maestro\Form\MaestroTraceDeleteTask::buildForm()

Parameters

int $idList: (optional) This is the discrete ID or the list of task IDs to delete.

Overrides ConfirmFormBase::buildForm

File

src/Form/MaestroTraceDeleteTask.php, line 78

Class

MaestroTraceDeleteTask
The confirm form for deleting a task.

Namespace

Drupal\maestro\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $processID = NULL, $idList = NULL) {
  $this->id = $idList;
  $this->processID = $processID;
  return parent::buildForm($form, $form_state);
}