class FlagForListHtmlRouteProvider in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/FlagForListHtmlRouteProvider.php \Drupal\flag_lists\FlagForListHtmlRouteProvider
Provides routes for Flag for list entities.
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
- class \Drupal\flag_lists\FlagForListHtmlRouteProvider
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Expanded class hierarchy of FlagForListHtmlRouteProvider
See also
Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
File
- src/
FlagForListHtmlRouteProvider.php, line 14
Namespace
Drupal\flag_listsView source
class FlagForListHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
// Provide your custom entity routes here.
return $collection;
}
}