You are here

PetHtmlRouteProvider.php in Previewable email templates 8

Same filename and directory in other branches
  1. 8.4 src/PetHtmlRouteProvider.php
  2. 8.3 src/PetHtmlRouteProvider.php

Namespace

Drupal\pet

File

src/PetHtmlRouteProvider.php
View source
<?php

namespace Drupal\pet;

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

/**
 * Provides routes for PET entities.
 *
 * @see \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
 * @see \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
 */
class PetHtmlRouteProvider extends AdminHtmlRouteProvider {

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

}

Classes

Namesort descending Description
PetHtmlRouteProvider Provides routes for PET entities.