DefaultController.php in Registration codes 8
Namespace
Drupal\regcode\ControllerFile
src/Controller/DefaultController.phpView 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
Name | Description |
---|---|
DefaultController | Default controller for the regcode module. |