Skip to content
Snippets Groups Projects
Commit 5c6979bb authored by Larry Garfield's avatar Larry Garfield Committed by Alex Bronstein
Browse files

Add start of a router_test module for hooking in the new routing system.

parent e31cf827
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
name = "Router test"
description = "Support module for routing testing."
package = Testing
version = VERSION
core = 8.x
hidden = TRUE
<?php
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;
function router_test_router_info() {
$collection = new RouteCollection();
$route = new Route('router_test/test1');
$collection->add('router_test_1', $route);
return $collection;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment