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