You are here

public function FlaggingForm::buildForm in Flag 8.4

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/FlaggingForm.php, line 18

Class

FlaggingForm
Provides the flagging form for field entry.

Namespace

Drupal\flag\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildForm($form, $form_state);
  return $form;
}