*/ public function __invoke(): array { $this->logger->get('example')->info('Example page viewed.'); return [ '#markup' => $this->t( 'This is an example page from the Drupal Module Template.', ['@url' => 'https://github.com/opdavies/drupal-module-template'] ), ]; } }