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