37 lines
957 B
PHP
37 lines
957 B
PHP
<?php
|
|
use App\Entity;
|
|
|
|
return [
|
|
'elements' => [
|
|
|
|
'path' => [
|
|
'text',
|
|
[
|
|
'label' => __('Backup Filename'),
|
|
'description' => __('Optional absolute or relative path where the backup file should be located.'),
|
|
]
|
|
],
|
|
|
|
'exclude_media' => [
|
|
'toggle',
|
|
[
|
|
'label' => __('Exclude Media from Backup'),
|
|
'description' => __('This will produce a significantly smaller backup, but you should make sure to back up your media elsewhere.'),
|
|
'selected_text' => __('Yes'),
|
|
'deselected_text' => __('No'),
|
|
'default' => false,
|
|
]
|
|
],
|
|
|
|
'submit' => [
|
|
'submit',
|
|
[
|
|
'type' => 'submit',
|
|
'label' => __('Save Changes'),
|
|
'class' => 'btn btn-lg btn-primary',
|
|
]
|
|
],
|
|
|
|
],
|
|
];
|