diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-10-08 07:19:33 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-10-09 12:01:56 +0100 |
| commit | 71378461661e7642e52abe7d41c9cfffb3e5369b (patch) | |
| tree | 3542baf9d94e2361fcf3858badef30c75048b974 /modules_v4 | |
| parent | 01202f8037e516171a36f999e52383b38b2f3b10 (diff) | |
| download | webtrees-71378461661e7642e52abe7d41c9cfffb3e5369b.tar.gz webtrees-71378461661e7642e52abe7d41c9cfffb3e5369b.tar.bz2 webtrees-71378461661e7642e52abe7d41c9cfffb3e5369b.zip | |
Working on routing
Diffstat (limited to 'modules_v4')
| -rw-r--r-- | modules_v4/README.md | 2 | ||||
| -rw-r--r-- | modules_v4/example-footer.disable/module.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules_v4/README.md b/modules_v4/README.md index 4175196563..75ddc3af5b 100644 --- a/modules_v4/README.md +++ b/modules_v4/README.md @@ -125,7 +125,7 @@ return new class extends PedigreeChartModule implements ModuleCustomInterface { } // Change the default layout... - public const DEFAULT_ORIENTATION = self::ORIENTATION_DOWN; + public const DEFAULT_ORIENTATION = self::STYLE_DOWN; }; ``` diff --git a/modules_v4/example-footer.disable/module.php b/modules_v4/example-footer.disable/module.php index 30de1daebd..b893f86b6e 100644 --- a/modules_v4/example-footer.disable/module.php +++ b/modules_v4/example-footer.disable/module.php @@ -12,12 +12,12 @@ use Fisharebest\Webtrees\Module\ModuleCustomInterface; use Fisharebest\Webtrees\Module\ModuleCustomTrait; use Fisharebest\Webtrees\Module\ModuleFooterInterface; use Fisharebest\Webtrees\Module\ModuleFooterTrait; -use Fisharebest\Webtrees\Tree; use Fisharebest\Webtrees\View; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; -return new class extends AbstractModule implements ModuleCustomInterface, ModuleFooterInterface { +return new class extends AbstractModule implements ModuleCustomInterface, ModuleFooterInterface +{ use ModuleCustomTrait; use ModuleFooterTrait; |
