EasyEmailTypeHtmlRouteProvider.php in Easy Email 8
Same filename and directory in other branches
Namespace
Drupal\easy_emailFile
src/EasyEmailTypeHtmlRouteProvider.phpView source
<?php
namespace Drupal\easy_email;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
use Symfony\Component\Routing\Route;
/**
* Provides routes for Email type entities.
*
* @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
* @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
*/
class EasyEmailTypeHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
// Provide your custom entity routes here.
return $collection;
}
}
Classes
Name![]() |
Description |
---|---|
EasyEmailTypeHtmlRouteProvider | Provides routes for Email type entities. |