3d: Add BlogPageController

Add the BlogPageController that is referenced within
`my_module.routing.yml`.

We will need to return a render array, but for now let’s return an empty
array.

The test now passes as we are getting the expected response code.
This commit is contained in:
Oliver Davies 2020-03-19 20:53:46 +00:00
parent 782648fef2
commit 4583075a3e

View file

@ -0,0 +1,12 @@
<?php
namespace Drupal\my_module\Controller;
class BlogPageController {
public function __invoke(): array {
return [];
}
}