public function FlagListItemDeleteForm::buildForm in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Form/FlagListItemDeleteForm.php \Drupal\flag_lists\Form\FlagListItemDeleteForm::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 ContentEntityDeleteForm::buildForm
File
- src/
Form/ FlagListItemDeleteForm.php, line 18
Class
- FlagListItemDeleteForm
- Provides a form for deleting Flag List Item entities.
Namespace
Drupal\flag_lists\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$entity = $this
->getEntity();
$form = parent::buildForm($form, $form_state);
return $form;
}