public function DevelopmentEnvironmentController::settingsPage in Development Environment 8
Settings page for the Development Environment module.
Return value
array A render array representing the settings page.
Overrides DevelopmentEnvironmentControllerInterface::settingsPage
1 string reference to 'DevelopmentEnvironmentController::settingsPage'
File
- src/
Controller/ DevelopmentEnvironmentController.php, line 221
Class
- DevelopmentEnvironmentController
- The DevelopmentEnvironmentController class.
Namespace
Drupal\development_environment\ControllerCode
public function settingsPage() {
$page = [
'#prefix' => '<div id="development_environment_settings_page">',
'#suffix' => '</div>',
'form' => $this->formBuilder
->getForm('\\Drupal\\development_environment\\Form\\DevelopmentEnvironmentSettingsForm'),
];
return $page;
}