'; } public function getSlug(): string { return self::SLUG; } /** * Whether the add-on is switched on. Same rule as isEnabled(), usable without an instance. */ public static function isActive(): bool { return self::isAddonEnabled( self::SLUG ); } public function run() { $this->getContainer()->add( 'settings.layout_preview', new LayoutPreview() ); $this->getContainer()->add( 'settings.layout_configurator', new LayoutConfigurator() ); } }