Commit d0280351 authored by Harsh Panchal's avatar Harsh Panchal Committed by Joachim Noreiko
Browse files

Issue #3293593 by Harsh panchal: Fixed Drupal coding standards.

parent 22d8ac94
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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.

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ class DecorationTestController {
    $build = [
      'markup' => [
        '#markup' => 'Content',
      ]
      ],
    ];

    return $build;
+2 −3
Original line number Diff line number Diff line
@@ -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.
}
+1 −1

File changed.

Contains only whitespace changes.