Commit 5c6979bb authored by Crell's avatar Crell Committed by effulgentsia
Browse files

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

parent e31cf827
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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment