Chapter · 8 pages
Settings
Pages in this chapter
What are the settings available to developers?
Settings allow you to add dynamic values to your modules that can be modified by admin users easi...
PAGE
Do do I set the default value of my custom setting?
You can add a default value to any setting by using the defaultmethod and passing your default va...
PAGE
How do I register custom settings?
To register settings you need to use the Aero\Common\Facades\Settingsfacade from the setupmethod ...
PAGE
How do I access a custom setting?
You can access a setting by using the settingfunction that is available in PHP, Blade, and Twig. ...
PAGE
What are the available setting types?
Setting
Description
$group->array(‘allow_list’);
Returns an array.
$group->boolean(‘enabled’);
Re...
PAGE
How do I configure the admin edit page?
By default your setting group is editable through the admin by a generated edit page. You cannot ...
PAGE
How do I handle translations?
When defining your setting groups title/summary, or a settings label/hint you can make use of Lar...
PAGE
How do I add settings to the product model?
Using the same syntax as when you create settings
<?php
namespace Acme\MyModule;
use Aero\Catalog...
PAGE