Skip to content
Snippets Groups Projects
IncludedDatesHtmlRouteProvider.php 568 B
Newer Older
  • Learn to ignore specific revisions
  • <?php
    
    namespace Drupal\recurring_events;
    
    use Drupal\Core\Entity\EntityTypeInterface;
    use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
    
    /**
     * Provides routes for Included dates entities.
     *
     * @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
     * @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
     */
    class IncludedDatesHtmlRouteProvider extends AdminHtmlRouteProvider {
    
      /**
       * {@inheritdoc}
       */
      public function getRoutes(EntityTypeInterface $entity_type) {
        $collection = parent::getRoutes($entity_type);
        return $collection;
      }
    
    }