public function FileDirectorySource::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/ Source/ FileDirectorySource.php, line 256
Class
- FileDirectorySource
- Class FileDirectorySource.
Namespace
BackupMigrate\Core\SourceCode
public function configSchema($params = []) {
$schema = [];
// Init settings.
if ($params['operation'] == 'initialize') {
$schema['fields']['directory'] = [
'type' => 'text',
'title' => $this
->t('Directory Path'),
];
}
return $schema;
}