Home
last modified time | relevance | path

Searched refs:ModuleThemeInterface (Results 1 – 25 of 25) sorted by relevance

/webtrees/app/Http/Middleware/
H A DUseTheme.php22 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
58 if ($theme instanceof ModuleThemeInterface) {
59 Registry::container()->set(ModuleThemeInterface::class, $theme);
76 $themes = $this->module_service->findByInterface(ModuleThemeInterface::class);
80 …->first(static fn (ModuleThemeInterface $module): bool => $module->name() === Session::get('theme'…
84 …->first(static fn (ModuleThemeInterface $module): bool => $module->name() === Site::getPreference(…
H A DBootModules.php22 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
36 private ModuleThemeInterface $theme;
40 * @param ModuleThemeInterface $theme
42 public function __construct(ModuleService $module_service, ModuleThemeInterface $theme)
/webtrees/resources/views/layouts/
H A Ddefault.phtml13 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
59 …<?php foreach (Registry::container()->get(ModuleThemeInterface::class)->stylesheets() as $styleshe…
70 …<body class="wt-global wt-theme-<?= e(Registry::container()->get(ModuleThemeInterface::class)->nam…
104 …<?php foreach (Registry::container()->get(ModuleThemeInterface::class)->userMenu($tree) as $menu) …
113 …<?php foreach (Registry::container()->get(ModuleThemeInterface::class)->genealogyMenu($tree) as $m…
/webtrees/app/Http/RequestHandlers/
H A DModulesThemesPage.php23 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
42 ModuleThemeInterface::class,
H A DModulesThemesAction.php24 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
43 $this->updateStatus(ModuleThemeInterface::class, $request);
H A DSitePreferencesPage.php24 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
60 ->findByInterface(ModuleThemeInterface::class, true, true)
H A DUserEditPage.php27 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
107 ->findByInterface(ModuleThemeInterface::class)
H A DControlPanel.php46 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
215 …es_disabled' => $this->module_service->findByInterface(ModuleThemeInterface::class, tru…
216 …odules_enabled' => $this->module_service->findByInterface(ModuleThemeInterface::class),
H A DTreePreferencesPage.php29 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
118 ->findByInterface(ModuleThemeInterface::class)
/webtrees/app/Schema/
H A DMigration42.php30 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
46 'theme' => ModuleThemeInterface::class,
/webtrees/app/Factories/
H A DResponseFactory.php24 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
150 'theme' => Registry::container()->get(ModuleThemeInterface::class),
/webtrees/app/Services/
H A DModuleService.php208 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
299 ModuleThemeInterface::class,
877 * @param ModuleThemeInterface $current_theme
879 public function bootModules(ModuleThemeInterface $current_theme): void
883 if ($module instanceof ModuleThemeInterface && $module !== $current_theme) {
/webtrees/app/Module/
H A DModuleThemeTrait.php439 … $themes = $module_service->findByInterface(ModuleThemeInterface::class, false, true);
440 $current_theme = Registry::container()->get(ModuleThemeInterface::class);
443 …$submenus = $themes->map(static function (ModuleThemeInterface $theme) use ($current_theme): Menu {
H A DWebtreesTheme.php27 class WebtreesTheme extends AbstractModule implements ModuleThemeInterface
H A DFabTheme.php27 class FabTheme extends AbstractModule implements ModuleThemeInterface
H A DXeneaTheme.php27 class XeneaTheme extends AbstractModule implements ModuleThemeInterface
H A DMinimalTheme.php27 class MinimalTheme extends AbstractModule implements ModuleThemeInterface
H A DModuleThemeInterface.php29 interface ModuleThemeInterface extends ModuleInterface interface
H A DCloudsTheme.php29 class CloudsTheme extends AbstractModule implements ModuleThemeInterface
H A DThemeSelectModule.php66 $theme = Registry::container()->get(ModuleThemeInterface::class);
H A DFanChartModule.php294 $theme = Registry::container()->get(ModuleThemeInterface::class);
/webtrees/tests/app/Services/
H A DModuleServiceTest.php34 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
80 … self::assertNotEmpty($module_service->findByInterface(ModuleThemeInterface::class, true)->all());
/webtrees/resources/views/admin/
H A Dmodules.phtml25 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
273 <?php if ($module instanceof ModuleThemeInterface) : ?>
H A Dcontrol-panel.phtml74 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
/webtrees/tests/
H A DTestCase.php28 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
143 Registry::container()->set(ModuleThemeInterface::class, new WebtreesTheme());