MediaBulkConfigHtmlRouteProvider.php in Media Bulk Upload 8
Namespace
Drupal\media_bulk_uploadFile
src/MediaBulkConfigHtmlRouteProvider.phpView 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
Name | Description |
---|---|
MediaBulkConfigHtmlRouteProvider | Provides routes for Media Bulk Config entities. |