You are here

BoardTypeHtmlRouteProvider.php in Drupal PM (Project Management) 4.x

Namespace

Drupal\pm_board

File

modules/pm_board/src/BoardTypeHtmlRouteProvider.php
View source
<?php

namespace Drupal\pm_board;

use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;

/**
 * Provides routes for Board type entities.
 *
 * @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
 * @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
 */
class BoardTypeHtmlRouteProvider extends AdminHtmlRouteProvider {

  /**
   * {@inheritdoc}
   */
  public function getRoutes(EntityTypeInterface $entity_type) {
    $collection = parent::getRoutes($entity_type);

    // Provide your custom entity routes here.
    return $collection;
  }

}

Classes

Namesort descending Description
BoardTypeHtmlRouteProvider Provides routes for Board type entities.