You are here

public function DefaultController::adminList in Registration codes 8

Displays a message that the admin list of codes is now handled by Views.

1 string reference to 'DefaultController::adminList'
regcode.routing.yml in ./regcode.routing.yml
regcode.routing.yml

File

src/Controller/DefaultController.php, line 15

Class

DefaultController
Default controller for the regcode module.

Namespace

Drupal\regcode\Controller

Code

public function adminList() {
  return [
    '#markup' => $this
      ->t('This page should be replaced by Views. If you are seeing this page, please check your Views configuration.'),
  ];
}