Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CollectionConfigurator.php

function CollectionConfigurator::createRoute

This method overrides the one from LocalizedRouteTrait.

File

vendor/symfony/routing/Loader/Configurator/CollectionConfigurator.php, line 119

Class

CollectionConfigurator
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\Routing\Loader\Configurator

Code

private function createRoute(string $path) : Route {
    return (clone $this->route)
        ->setPath($path);
}
RSS feed
Powered by Drupal