class Settings implements ExtenderInterface
Methods
serializeToForum(string $attributeName, string $key, $callback = null, $default = null)
Serialize a setting value to the ForumSerializer attributes.
registerLessConfigVar(string $configName, string $key, $callback = null)
Register a setting as a LESS configuration variable.
Details
at
line 43
Settings
serializeToForum(string $attributeName, string $key, $callback = null, $default = null)
Serialize a setting value to the ForumSerializer attributes.
at
line 58
Settings
default(string $key, $value)
Set a default value for a setting.
Replaces inserting the default value with a migration.