class DrupalPublicFilesSource in Backup and Migrate 5.0.x
@package Drupal\backup_migrate\Drupal\Source
Hierarchy
- class \Drupal\backup_migrate\Core\Plugin\PluginBase implements ConfigurableInterface, PluginInterface uses ConfigurableTrait
- class \Drupal\backup_migrate\Core\Source\FileDirectorySource implements FileProcessorInterface, PluginCallerInterface, SourceInterface uses FileProcessorTrait, PluginCallerTrait
- class \Drupal\backup_migrate\Drupal\Source\DrupalPublicFilesSource
- class \Drupal\backup_migrate\Core\Source\FileDirectorySource implements FileProcessorInterface, PluginCallerInterface, SourceInterface uses FileProcessorTrait, PluginCallerTrait
Expanded class hierarchy of DrupalPublicFilesSource
File
- src/
Drupal/ Source/ DrupalPublicFilesSource.php, line 13
Namespace
Drupal\backup_migrate\Drupal\SourceView source
class DrupalPublicFilesSource extends FileDirectorySource {
/**
* Get the default values for the plugin.
*
* @return \Drupal\backup_migrate\Core\Config\Config
*/
public function configDefaults() {
$config = [
'directory' => 'public://',
];
return new Config($config);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableTrait:: |
protected | property | The object's configuration object. | |
ConfigurableTrait:: |
protected | property | The initial configuration. | |
ConfigurableTrait:: |
public | function | Get a specific value from the configuration. | |
ConfigurableTrait:: |
public | function | Get the configuration object for this item. | |
ConfigurableTrait:: |
public | function | Get any validation errors in the config. | |
ConfigurableTrait:: |
public | function | Set the configuration for all plugins. | 1 |
ConfigurableTrait:: |
public | function | 2 | |
DrupalPublicFilesSource:: |
public | function |
Get the default values for the plugin. Overrides FileDirectorySource:: |
|
FileDirectorySource:: |
private | property | ||
FileDirectorySource:: |
private | property | ||
FileDirectorySource:: |
public | function |
Get a definition for user-configurable settings. Overrides ConfigurableTrait:: |
|
FileDirectorySource:: |
public | function |
Export this source to the given temp file. Overrides SourceInterface:: |
|
FileDirectorySource:: |
public | function | ||
FileDirectorySource:: |
public | function | ||
FileDirectorySource:: |
protected | function | @internal param string $dir | |
FileDirectorySource:: |
protected | function | Get a list if files to be backed up from the given directory. | 1 |
FileDirectorySource:: |
public | function |
Import to this source from the given backup file. Overrides SourceInterface:: |
1 |
FileDirectorySource:: |
public | function | ||
FileDirectorySource:: |
public | function | ||
FileDirectorySource:: |
public | function |
Get a list of supported operations and their weight. Overrides PluginBase:: |
|
FileProcessorTrait:: |
protected | property | ||
FileProcessorTrait:: |
public | function | Provide the file mime for the given file extension if known. | |
FileProcessorTrait:: |
public | function | Get the temp file manager. | |
FileProcessorTrait:: |
public | function | Inject the temp file manager. | |
PluginBase:: |
public | function |
What is the weight of the given operation for this plugin. Overrides PluginInterface:: |
|
PluginBase:: |
public | function |
Does this plugin implement the given operation. Overrides PluginInterface:: |
|
PluginCallerTrait:: |
protected | property | ||
PluginCallerTrait:: |
public | function | Get the plugin manager. | |
PluginCallerTrait:: |
public | function | Inject the plugin manager. | |
TranslatableTrait:: |
protected | property | ||
TranslatableTrait:: |
public | function | ||
TranslatableTrait:: |
public | function | Translate the given string if there is a translator service available. |