public function GardenerFake::getSettings in Backup and migrate prune 7
Same name and namespace in other branches
- 7.2 backup_migrate_prune.test \GardenerFake::getSettings()
Overwrites getSettings to not to consult the DB
Overrides Gardener::getSettings
File
- ./
backup_migrate_prune.test, line 112 - Test implementation file
Class
- GardenerFake
- Fake gardener for test purposes
Code
public function getSettings() {
return array(
'thisweek_slot' => array(
'active' => TRUE,
),
'thismonth_slot' => array(
'active' => TRUE,
'keep' => 4,
),
'thisyear_slot' => array(
'active' => TRUE,
'keep' => 2,
),
'pastyears_slot' => array(
'active' => TRUE,
'keep' => 10,
),
);
}