public function ReferenceRevisionDeleteForm::buildForm in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Form/ReferenceRevisionDeleteForm.php \Drupal\bibcite_entity\Form\ReferenceRevisionDeleteForm::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
- modules/
bibcite_entity/ src/ Form/ ReferenceRevisionDeleteForm.php, line 111
Class
- ReferenceRevisionDeleteForm
- Provides a form for reverting a reference revision.
Namespace
Drupal\bibcite_entity\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $bibcite_reference_revision = NULL) {
$this->revision = $bibcite_reference_revision;
$form = parent::buildForm($form, $form_state);
return $form;
}