public function PageController::moduleSettingsPage in Color API 8
Defines the Color API module settings page.
Callback for route: colorapi.color_settings.
Overrides ColorapiPageControllerInterface::moduleSettingsPage
1 string reference to 'PageController::moduleSettingsPage'
File
- src/
Controller/ PageController.php, line 48
Class
- PageController
- Page controller for the Colorapi module.
Namespace
Drupal\colorapi\ControllerCode
public function moduleSettingsPage() {
return [
'#prefix' => '<div id="colorapi_module_settings_page">',
'#suffix' => '</div>',
'form' => $this->formBuilder
->getForm('Drupal\\colorapi\\Form\\ConfigForm'),
];
}