Commit ce0a3843 authored by Micheal Mand's avatar Micheal Mand

Synchronize config files between Modules and published versions

Signed-off-by: 's avatarMicheal Mand <micheal@kmdwebdesigns.com>
parent fd007017
<?php <?php
return [ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| The prefix that'll be used for the administration | The prefix that'll be used for the administration
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */
'admin-prefix' => 'backend', 'admin-prefix' => 'backend',
/* /*
...@@ -32,18 +32,18 @@ return [ ...@@ -32,18 +32,18 @@ return [
*/ */
'skin' => 'skin-blue', 'skin' => 'skin-blue',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| WYSIWYG Backend Editor | WYSIWYG Backend Editor
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Define which editor you would like to use for the backend wysiwygs. | Define which editor you would like to use for the backend wysiwygs.
| These classes are event handlers, listening to EditorIsRendering | These classes are event handlers, listening to EditorIsRendering
| you can define your own handlers and use them here | you can define your own handlers and use them here
| Options: | Options:
| - \Modules\Core\Events\Handlers\LoadCkEditor::class | - \Modules\Core\Events\Handlers\LoadCkEditor::class
| - \Modules\Core\Events\Handlers\LoadSimpleMde::class | - \Modules\Core\Events\Handlers\LoadSimpleMde::class
*/ */
'wysiwyg-handler' => \Modules\Core\Events\Handlers\LoadCkEditor::class, 'wysiwyg-handler' => \Modules\Core\Events\Handlers\LoadCkEditor::class,
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Custom CKeditor configuration file | Custom CKeditor configuration file
...@@ -63,22 +63,22 @@ return [ ...@@ -63,22 +63,22 @@ return [
| Backend and Frontend routes. | Backend and Frontend routes.
*/ */
'middleware' => [ 'middleware' => [
'backend' => [ 'backend' => [
'auth.admin', 'auth.admin',
], ],
'frontend' => [ 'frontend' => [
], ],
'api' => [ 'api' => [
'api', 'api',
], ],
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Define which assets will be available through the asset manager | Define which assets will be available through the asset manager
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| These assets are registered on the asset manager | These assets are registered on the asset manager
*/ */
'admin-assets' => [ 'admin-assets' => [
// Css // Css
'bootstrap.css' => ['theme' => 'vendor/bootstrap/dist/css/bootstrap.min.css'], 'bootstrap.css' => ['theme' => 'vendor/bootstrap/dist/css/bootstrap.min.css'],
...@@ -178,5 +178,5 @@ return [ ...@@ -178,5 +178,5 @@ return [
| Check if asgard was installed | Check if asgard was installed
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */
'is_installed' => env('INSTALLED', false) 'is_installed' => env('INSTALLED', false),
]; ];
...@@ -25,8 +25,8 @@ return [ ...@@ -25,8 +25,8 @@ return [
| Add relations that will be dynamically added to the Page entity | Add relations that will be dynamically added to the Page entity
*/ */
'relations' => [ 'relations' => [
// 'extension' => function ($self) { // 'extension' => function (): \Illuminate\Database\Eloquent\Relations\BelongsTo {
// return $self->belongsTo(PageExtension::class, 'id', 'page_id')->first(); // return $this->belongsTo(PageExtension::class, 'id', 'page_id')->first();
// } // }
], ],
/* /*
......
...@@ -79,14 +79,14 @@ return [ ...@@ -79,14 +79,14 @@ return [
'casts' => [ 'casts' => [
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Dynamic relations | Dynamic relations
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Add relations that will be dynamically added to the User entity | Add relations that will be dynamically added to the User entity
*/ */
'relations' => [ 'relations' => [
// 'extension' => function ($self) { // 'extension' => function (): \Illuminate\Database\Eloquent\Relations\BelongsTo {
// return $self->belongsTo(UserExtension::class, 'user_id', 'id')->first(); // return $this->belongsTo(UserExtension::class, 'user_id', 'id')->first();
// } // }
], ],
/* /*
......
<?php
return [
'welcome-title' => [
'description' => 'dashboard::dashboard.welcome-title',
'view' => 'text',
'translatable' => true,
'default' => 'Welcome on your backend!',
],
'welcome-description' => [
'description' => 'dashboard::dashboard.welcome-description',
'view' => 'textarea',
'translatable' => true,
'default' => 'Did you know you can access the documentation by pressing F1?',
],
'welcome-enabled' => [
'description' => 'dashboard::dashboard.welcome-enabled',
'view' => 'checkbox',
'translatable' => false,
'default' => '1',
],
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment