You are here

MediaBulkConfigHtmlRouteProvider.php in Media Bulk Upload 8

File

src/MediaBulkConfigHtmlRouteProvider.php
View source
<?php

namespace Drupal\media_bulk_upload;

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

/**
 * Provides routes for Media Bulk Config entities.
 *
 * @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
 * @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
 */
class MediaBulkConfigHtmlRouteProvider extends AdminHtmlRouteProvider {

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

    // Provide your custom entity routes here.
    return $collection;
  }

}

Classes

Namesort descending Description
MediaBulkConfigHtmlRouteProvider Provides routes for Media Bulk Config entities.