public function DirectoryDestination::configSchema in Backup and Migrate 8.4
Get a definition for user-configurable settings.
Parameters
array $params:
Return value
array
Overrides ConfigurableTrait::configSchema
File
- lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php, line 43
Class
- DirectoryDestination
- Class ServerDirectoryDestination.
Namespace
BackupMigrate\Core\DestinationCode
public function configSchema($params = []) {
$schema = [];
// Init settings.
if ($params['operation'] == 'initialize') {
$schema['fields']['directory'] = [
'type' => 'text',
'title' => $this
->t('Directory Path'),
];
}
return $schema;
}