FlaggingCollectionTypeHtmlRouteProvider.php in Flag Lists 4.0.x
Same filename and directory in other branches
Namespace
Drupal\flag_listsFile
src/FlaggingCollectionTypeHtmlRouteProvider.phpView source
<?php
namespace Drupal\flag_lists;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
/**
* Provides routes for Flagging collection type entities.
*
* @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
* @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
*/
class FlaggingCollectionTypeHtmlRouteProvider 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 |
---|---|
FlaggingCollectionTypeHtmlRouteProvider | Provides routes for Flagging collection type entities. |