public function AnimateDeleteForm::buildForm in Animate Any 8
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/ AnimateDeleteForm.php, line 40
Class
- AnimateDeleteForm
- Defines a confirmation form for deleting Animation data from Animation list.
Namespace
Drupal\animate_any\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $id = NULL) {
$this->id = $id;
return parent::buildForm($form, $form_state);
}