public function OpignoAnswerSettingsForm::buildForm in Opigno module 8
Same name and namespace in other branches
- 3.x src/Form/OpignoAnswerSettingsForm.php \Drupal\opigno_module\Form\OpignoAnswerSettingsForm::buildForm()
Defines the settings form for Answer 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/ OpignoAnswerSettingsForm.php, line 50
Class
- OpignoAnswerSettingsForm
- Class OpignoAnswerSettingsForm.
Namespace
Drupal\opigno_module\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['OpignoAnswer_settings']['#markup'] = 'Settings form for Answer entities. Manage field settings here.';
return $form;
}