You are here

public function FlagListItemForm::buildForm in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x 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\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  /* @var $entity \Drupal\flag_lists\Entity\FlaggingCollection */
  $form = parent::buildForm($form, $form_state);
  return $form;
}