. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Http\RequestHandlers; use Fisharebest\Webtrees\I18N; use Fisharebest\Webtrees\Module\ModuleMapLinkInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use function view; /** * Show a list of modules. */ class ModulesMapLinksPage extends AbstractModuleComponentPage { /** * @param ServerRequestInterface $request * * @return ResponseInterface */ public function handle(ServerRequestInterface $request): ResponseInterface { return $this->listComponents( ModuleMapLinkInterface::class, view('icons/location') . ' ' . I18N::translate('Map links'), I18N::translate('Show the location of an event on an external map.') ); } }