. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\Menu; use Fisharebest\Webtrees\Tree; /** * Interface ModuleThemelInterface - Classes and libraries for module system */ interface ModuleThemeInterface extends ModuleInterface { /** * Links, to show in chart boxes; * * @param Individual $individual * * @return Menu[] */ public function individualBoxMenu(Individual $individual): array; /** * Themes menu. * * @return Menu|null */ public function menuThemes(): ?Menu; /** * Miscellaneous dimensions, fonts, styles, etc. * * @param string $parameter_name * * @return string|int|float */ public function parameter($parameter_name); /** * Generate a list of items for the main menu. * * @param Tree|null $tree * * @return Menu[] */ public function genealogyMenu(?Tree $tree): array; /** * Generate a list of items for the user menu. * * @param Tree|null $tree * * @return Menu[] */ public function userMenu(?Tree $tree): array; /** * A list of CSS files to include for this page. * * @return array */ public function stylesheets(): array; }