Loading README.txt +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ Route Decorator --------------- This module allows routes to be decorated, so their output can be altered. It is mostly a proof-of-concept for getting this into core (see https://www.drupal.org/project/drupal/issues/3228770), but is fully-functional. is mostly a proof-of-concept for getting this into core (see https://www.drupal.org/project/drupal/issues/3228770), but is fully-functional. WARNING: Should this get into core, the API will likely change. Loading tests/modules/route_decorator_test/src/Controller/DecorationTestController.php +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ class DecorationTestController { $build = [ 'markup' => [ '#markup' => 'Content', ] ], ]; return $build; Loading tests/src/Kernel/RouteDecorationTest.php +2 −3 Original line number Diff line number Diff line Loading @@ -32,9 +32,8 @@ class RouteDecorationTest extends KernelTestBase { $request = Request::create('/route_decorator_test'); $response = $http_kernel->handle($request); // TODO: assert content. // @todo assert content. } // TODO: Add test for route_decoration_revisions_test module. // @todo Add test for route_decoration_revisions_test module. } route_decorator.services.yml +1 −1 File changed.Contains only whitespace changes. Show changes Loading
README.txt +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ Route Decorator --------------- This module allows routes to be decorated, so their output can be altered. It is mostly a proof-of-concept for getting this into core (see https://www.drupal.org/project/drupal/issues/3228770), but is fully-functional. is mostly a proof-of-concept for getting this into core (see https://www.drupal.org/project/drupal/issues/3228770), but is fully-functional. WARNING: Should this get into core, the API will likely change. Loading
tests/modules/route_decorator_test/src/Controller/DecorationTestController.php +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ class DecorationTestController { $build = [ 'markup' => [ '#markup' => 'Content', ] ], ]; return $build; Loading
tests/src/Kernel/RouteDecorationTest.php +2 −3 Original line number Diff line number Diff line Loading @@ -32,9 +32,8 @@ class RouteDecorationTest extends KernelTestBase { $request = Request::create('/route_decorator_test'); $response = $http_kernel->handle($request); // TODO: assert content. // @todo assert content. } // TODO: Add test for route_decoration_revisions_test module. // @todo Add test for route_decoration_revisions_test module. }