You are here

public function Form::buildForm in Cheeseburger Menu 8

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 FormInterface::buildForm

File

src/workForm/Form.php, line 35
Contains \Drupal\cheeseburger_menu\workForm.

Class

Form

Namespace

Drupal\cheeseburger_menu\workForm

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  return $this->{$form};
}