public function FaqController::generalSettings in Frequently Asked Questions 8
Renders the form for the FAQ Settings page - General tab.
Return value
The form code inside the $build array.
1 string reference to 'FaqController::generalSettings'
File
- src/
Controller/ FaqController.php, line 295
Class
- FaqController
- Controller routines for FAQ routes.
Namespace
Drupal\faq\ControllerCode
public function generalSettings() {
$build = array();
$build['faq_general_settings_form'] = $this
->formBuilder()
->getForm('Drupal\\faq\\Form\\GeneralForm');
return $build;
}