. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; /** * Trait ModuleConfigTrait - default implementation of ModuleConfigInterface */ trait ModuleConfigTrait { /** * @return string */ abstract public function name(): string; /** * The URL to a page where the user can modify the configuration of this module. * * @return string */ public function getConfigLink(): string { return route('module', [ 'module' => $this->name(), 'action' => 'Admin', ]); } }