Language editor refactoring part 2 (backend + frontend)

This commit is contained in:
Peter Papp
2021-03-28 14:06:16 +02:00
parent ec51440c3a
commit 6ac6528243
44 changed files with 595 additions and 3380 deletions

View File

@@ -24,6 +24,7 @@ class SetupDevEnvironment extends Command
* @var string
*/
protected $signature = 'setup:dev';
protected $license = 'Regular';
/**
* The console command description.
@@ -66,7 +67,7 @@ class SetupDevEnvironment extends Command
$this->info('Storing default settings and content...');
$this->store_default_settings();
$this->setup->seed_default_pages();
$this->setup->seed_default_settings('Extended');
$this->setup->seed_default_settings($this->license);
$this->setup->seed_default_language();
$this->info('Creating default admin...');
@@ -832,7 +833,7 @@ class SetupDevEnvironment extends Command
],
[
'name' => 'license',
'value' => 'Extended',
'value' => $this->license,
],
[
'name' => 'purchase_code',