. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Http\RequestHandlers; use Fisharebest\Webtrees\I18N; use Fisharebest\Webtrees\Module\ModuleMapAutocompleteInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use function view; /** * Show a list of modules. */ class ModulesMapAutocompletePage extends AbstractModuleComponentPage { /** * @param ServerRequestInterface $request * * @return ResponseInterface */ public function handle(ServerRequestInterface $request): ResponseInterface { return $this->listComponents( ModuleMapAutocompleteInterface::class, view('icons/search') . ' ' . I18N::translate('Autocomplete'), I18N::translate('Search for place names in an external database.') ); } }