public static function DrupalConfigHelper::getDestinationSelector in Backup and Migrate 8.4
Get a select form item for the given list of sources.
Parameters
\BackupMigrate\Core\Main\BackupMigrateInterface $bam:
$title:
null $default_value:
Return value
array
3 calls to DrupalConfigHelper::getDestinationSelector()
- BackupMigrateAdvancedBackupForm::buildForm in src/
Form/ BackupMigrateAdvancedBackupForm.php - Form constructor.
- BackupMigrateQuickBackupForm::buildForm in src/
Form/ BackupMigrateQuickBackupForm.php - Form constructor.
- ScheduleForm::form in src/
Form/ ScheduleForm.php - Gets the actual form array to be built.
File
- src/
Config/ DrupalConfigHelper.php, line 252
Class
- DrupalConfigHelper
- Class DrupalConfigHelper.
Namespace
BackupMigrate\Drupal\ConfigCode
public static function getDestinationSelector(BackupMigrateInterface $bam, $title, $default_value = NULL) {
return DrupalConfigHelper::getPluginSelector($bam
->destinations(), $title, $default_value);
}