You are here

public function SimpleMegaMenuSettingsForm::buildForm in Simple Mega Menu 8

Same name and namespace in other branches
  1. 2.0.x src/Form/SimpleMegaMenuSettingsForm.php \Drupal\simple_megamenu\Form\SimpleMegaMenuSettingsForm::buildForm()

Defines the settings form for Simple mega menu entities.

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 Form definition array.

Overrides FormInterface::buildForm

File

src/Form/SimpleMegaMenuSettingsForm.php, line 50

Class

SimpleMegaMenuSettingsForm
Class SimpleMegaMenuSettingsForm.

Namespace

Drupal\simple_megamenu\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form['SimpleMegaMenu_settings']['#markup'] = 'Settings form for Simple mega menu entities. Manage field settings here.';
  return $form;
}