class PetHtmlRouteProvider in Previewable email templates 8
Same name and namespace in other branches
- 8.4 src/PetHtmlRouteProvider.php \Drupal\pet\PetHtmlRouteProvider
- 8.3 src/PetHtmlRouteProvider.php \Drupal\pet\PetHtmlRouteProvider
Provides routes for PET entities.
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
- class \Drupal\pet\PetHtmlRouteProvider
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Expanded class hierarchy of PetHtmlRouteProvider
See also
\Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
\Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
File
- src/
PetHtmlRouteProvider.php, line 14
Namespace
Drupal\petView source
class PetHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
return $collection;
}
}