mix-1.1.0-rc1/src/Controller/MixUnexpectedErrorPageController.php

src/Controller/MixUnexpectedErrorPageController.php
<?php

namespace Drupal\mix\Controller;

use Drupal\Core\Controller\ControllerBase;

/**
 * Returns responses for Mix routes.
 */
class MixUnexpectedErrorPageController extends ControllerBase {

  /**
   * Builds the response.
   */
  public function build() {
    throw new \Exception("Trigger custom error page.");
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc