public function FlagListItemForm::buildForm in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/Form/FlagListItemForm.php \Drupal\flag_lists\Form\FlagListItemForm::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 EntityForm::buildForm
File
- src/
Form/ FlagListItemForm.php, line 18
Class
- FlagListItemForm
- Form controller for Flag List Item edit forms.
Namespace
Drupal\flag_lists\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
/** @var \Drupal\flag_lists\Entity\FlaggingCollection $entity */
$form = parent::buildForm($form, $form_state);
return $form;
}