BodyFacts final readonly class
Minn\Theme\BodyFacts · public/minn/src/Minn/Theme/BodyFacts.php · 10 lines
The facts about a page that decide the body classes a classic theme's page carries beyond the view tokens: a signed-in reader, a custom logo, responsive embeds, and the Minn bar.
Used by 2
Constants and properties
| prop | readonly bool $loggedIn | Promoted from the constructor. |
| prop | readonly bool $customLogo | Promoted from the constructor. |
| prop | readonly bool $embedResponsive | Promoted from the constructor. |
| prop | readonly bool $bar | Promoted from the constructor. |
Public
| new | __construct(bool $loggedIn = false, bool $customLogo = false, bool $embedResponsive = true, bool $bar = false)# |
Nothing matches.