. */ 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 array */ 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 */ public function parameter(string $parameter_name): string; /** * Generate a list of items for the main menu. * * @param Tree|null $tree * * @return array */ public function genealogyMenu(?Tree $tree): array; /** * Generate a list of items for the user menu. * * @param Tree|null $tree * * @return array */ public function userMenu(?Tree $tree): array; /** * A list of CSS files to include for this page. * * @return array */ public function stylesheets(): array; }