You are here

public function BlockthemeController::adminPage in Block Theme 8

Render 'Admin page'

Return value

array

1 string reference to 'BlockthemeController::adminPage'
blocktheme.routing.yml in ./blocktheme.routing.yml
blocktheme.routing.yml

File

src/Controller/BlockthemeController.php, line 18

Class

BlockthemeController
Controller routines for blocktheme routes.

Namespace

Drupal\blocktheme\Controller

Code

public function adminPage() {
  $build['#title'] = t('Block Theme');
  $build['form'] = \Drupal::formBuilder()
    ->getForm('Drupal\\blocktheme\\Form\\BlockthemeAdminSettingsForm');
  return $build;
}