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.
12 lines
136 B
PHP
12 lines
136 B
PHP
<?php
|
|
|
|
namespace Drupal\my_module\Controller;
|
|
|
|
class BlogPageController {
|
|
|
|
public function __invoke(): array {
|
|
return [];
|
|
}
|
|
|
|
}
|
|
|