. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; use Illuminate\Support\Collection; /** * Class BritishSocialHistory * * @package Fisharebest\Webtrees\Module */ class BritishSocialHistory extends AbstractModule implements ModuleHistoricEventsInterface { use ModuleHistoricEventsTrait; /** * How should this module be labelled on tabs, menus, etc.? * * @return string */ public function title(): string { return 'British social history'; } /** * Should this module be enabled when it is first installed? * * @return bool */ public function isEnabledByDefault(): bool { return false; } /** * All events provided by this module. * * @return Collection|string[] */ public function historicEventsAll(): Collection { return new Collection([ "1 EVEN Games of the IV Olympiad\n2 TYPE Olympic games\n2 DATE FROM 27 APR 1908 TO 31 OCT 1908\n2 PLAC London, England", "1 EVEN\n2 TYPE National Health Service\n2 DATE FROM 5 JUL 1948", "1 EVEN Games of the XIV Olympiad\n2 TYPE Olympic games\n2 DATE FROM 29 JUL 1948 TO 14 AUG 1948\n2 PLAC London, England", "1 EVEN Games of the XXX Olympiad\n2 TYPE Olympic games\n2 DATE FROM 27 JUL 2012 TO 12 AUG 2012\n2 PLAC London, England", ]); } } ;