mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
add mukadi/settings-bundle recipe
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
mukadi_settings:
|
||||
# settings:
|
||||
# currency:
|
||||
# type: choice
|
||||
# options:
|
||||
# label: 'Set default currency'
|
||||
# choices: '(one, two, three)'
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Mukadi\\SettingsBundle\\MukadiSettingsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"public/": "%PUBLIC_DIR%"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> What's next? </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* go to the 'config/packages/mukadi_settings.yaml' file and your settings form.
|
||||
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/mbo2olivier/mukadi-settings-bundle</>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
namespace App\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Mukadi\SettingsBundle\Entity\Param as Base;
|
||||
/**
|
||||
* @ORM\Entity()
|
||||
*/
|
||||
class Param extends Base{}
|
||||
Reference in New Issue
Block a user