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:
parent
782648fef2
commit
4583075a3e
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\my_module\Controller;
|
||||
|
||||
class BlogPageController {
|
||||
|
||||
public function __invoke(): array {
|
||||
return [];
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in a new issue