SourcePluginBase.php in Backup and Migrate 8.4
Namespace
BackupMigrate\Drupal\EntityPluginsFile
src/EntityPlugins/SourcePluginBase.phpView source
<?php
namespace BackupMigrate\Drupal\EntityPlugins;
use BackupMigrate\Core\Main\BackupMigrateInterface;
/**
* Class SourcePluginBase.
*
* @package BackupMigrate\Drupal\EntityPlugins
*/
abstract class SourcePluginBase extends WrapperPluginBase implements SourcePluginInterface {
/**
* {@inheritdoc}
*/
public function alterBackupMigrate(BackupMigrateInterface $bam, $key, $options = []) {
$bam
->sources()
->add($key, $this
->getObject());
}
}
Classes
Name | Description |
---|---|
SourcePluginBase | Class SourcePluginBase. |