improvements-2.x-dev/modules/improvements_contact/tests/modules/improvements_contact_test/src/Controller/ImprovementsContactTestController.php
modules/improvements_contact/tests/modules/improvements_contact_test/src/Controller/ImprovementsContactTestController.php
<?php namespace Drupal\improvements_contact_test\Controller; use Drupal\contact\ContactFormInterface; use Drupal\Core\Controller\ControllerBase; class ImprovementsContactTestController extends ControllerBase { public function contactForm(ContactFormInterface $contact_form): array { return improvements_contact_get_message_form($contact_form->id()); } }