You are here

DefaultController.php in Registration codes 8

File

src/Controller/DefaultController.php
View source
<?php

namespace Drupal\regcode\Controller;

use Drupal\Core\Controller\ControllerBase;

/**
 * Default controller for the regcode module.
 */
class DefaultController extends ControllerBase {

  /**
   * Displays a message that the admin list of codes is now handled by Views.
   */
  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.'),
    ];
  }

}

Classes

Namesort descending Description
DefaultController Default controller for the regcode module.