public function OpignoActivityRevisionDeleteForm::buildForm in Opigno module 8
Same name and namespace in other branches
- 3.x src/Form/OpignoActivityRevisionDeleteForm.php \Drupal\opigno_module\Form\OpignoActivityRevisionDeleteForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ConfirmFormBase::buildForm
File
- src/
Form/ OpignoActivityRevisionDeleteForm.php, line 98
Class
- OpignoActivityRevisionDeleteForm
- Provides a form for deleting a Answer revision.
Namespace
Drupal\opigno_module\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $opigno_activity = NULL, $opigno_activity_revision = NULL) {
$this->revision = $opigno_activity_revision;
$this->entity = $opigno_activity;
return parent::buildForm($form, $form_state);
}