public function QueuerConfigFormTestBase::setUp in Purge 8.3
Set up the test object.
Parameters
bool $switch_to_memory_queue: Whether to switch the default queue to the memory backend or not.
Overrides PluginConfigFormTestBase::setUp
1 call to QueuerConfigFormTestBase::setUp()
- QueuerConfigDialogFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ QueuerConfigDialogFormTest.php - Set up the test object.
1 method overrides QueuerConfigFormTestBase::setUp()
- QueuerConfigDialogFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ QueuerConfigDialogFormTest.php - Set up the test object.
File
- modules/
purge_ui/ tests/ src/ Functional/ Form/ Config/ QueuerConfigFormTestBase.php, line 18
Class
- QueuerConfigFormTestBase
- Testbase for \Drupal\purge_ui\Form\QueuerConfigFormBase derivatives.
Namespace
Drupal\Tests\purge_ui\Functional\Form\ConfigCode
public function setUp($switch_to_memory_queue = TRUE) : void {
parent::setUp($switch_to_memory_queue);
if ($this->dialogRouteTest) {
$this->route = 'purge_ui.queuer_config_dialog_form';
}
// Set the expected route title for the test subject.
$label = $this->purgeQueuers
->getPlugins()[$this->pluginId]['label'];
$this->routeTitle = sprintf("Configure %s", $label);
}