class FontAwesome

Constants

SOURCE_LOCAL

SOURCE_CDN

SOURCE_KIT

Methods

__construct(Config $config, SettingsRepositoryInterface $settings)

No description

string
source()

No description

string|null
cdnUrl()

No description

string|null
kitUrl()

No description

bool
configOverride()

No description

bool
useLocalFonts()

No description

bool
needsBundledFonts()

Whether the bundled font files are what the icons will actually be drawn from.

bool
useCdn()

No description

bool
useKit()

No description

Details

__construct(Config $config, SettingsRepositoryInterface $settings)

Parameters

Config $config
SettingsRepositoryInterface $settings

string source()

Return Value

string

string|null cdnUrl()

Return Value

string|null

string|null kitUrl()

Return Value

string|null

bool configOverride()

Return Value

bool

bool useLocalFonts()

Return Value

bool

bool needsBundledFonts()

Whether the bundled font files are what the icons will actually be drawn from.

This is not quite the same question as `useLocalFonts()`. A forum can name a CDN or a Kit and give no URL for it, in which case that source cannot deliver anything and the bundled fonts are all there is. Treating such a forum as remote would leave it with no icons at all, rather than with icons that arrive late.

Return Value

bool

bool useCdn()

Return Value

bool

bool useKit()

Return Value

bool