public function BlockthemeController::adminPage in Block Theme 8
Render 'Admin page'
Return value
array
1 string reference to 'BlockthemeController::adminPage'
File
- src/
Controller/ BlockthemeController.php, line 18
Class
- BlockthemeController
- Controller routines for blocktheme routes.
Namespace
Drupal\blocktheme\ControllerCode
public function adminPage() {
$build['#title'] = t('Block Theme');
$build['form'] = \Drupal::formBuilder()
->getForm('Drupal\\blocktheme\\Form\\BlockthemeAdminSettingsForm');
return $build;
}