PetHtmlRouteProvider.php in Previewable email templates 8
Same filename and directory in other branches
Namespace
Drupal\petFile
src/PetHtmlRouteProvider.phpView 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
Name | Description |
---|---|
PetHtmlRouteProvider | Provides routes for PET entities. |