DashboardHtmlRouteProvider.php in Draggable dashboard 8.2
Namespace
Drupal\draggable_dashboardFile
src/DashboardHtmlRouteProvider.phpView source
<?php
namespace Drupal\draggable_dashboard;
use Drupal\Core\Entity\Controller\EntityController;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
use Symfony\Component\Routing\Route;
/**
* Class DashboardHtmlRouteProvider
*
* @package Drupal\draggable_dashboard
*/
class DashboardHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
return $collection;
}
}
Classes
Name | Description |
---|---|
DashboardHtmlRouteProvider | Class DashboardHtmlRouteProvider |