You are here

public function PluginConfigFormTestBase::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 FormTestBase::setUp

3 calls to PluginConfigFormTestBase::setUp()
ProcessorConfigFormTestBase::setUp in modules/purge_ui/tests/src/Functional/Form/Config/ProcessorConfigFormTestBase.php
Set up the test object.
PurgerConfigFormTestBase::setUp in modules/purge_ui/tests/src/Functional/Form/Config/PurgerConfigFormTestBase.php
Set up the test object.
QueuerConfigFormTestBase::setUp in modules/purge_ui/tests/src/Functional/Form/Config/QueuerConfigFormTestBase.php
Set up the test object.
3 methods override PluginConfigFormTestBase::setUp()
ProcessorConfigFormTestBase::setUp in modules/purge_ui/tests/src/Functional/Form/Config/ProcessorConfigFormTestBase.php
Set up the test object.
PurgerConfigFormTestBase::setUp in modules/purge_ui/tests/src/Functional/Form/Config/PurgerConfigFormTestBase.php
Set up the test object.
QueuerConfigFormTestBase::setUp in modules/purge_ui/tests/src/Functional/Form/Config/QueuerConfigFormTestBase.php
Set up the test object.

File

modules/purge_ui/tests/src/Functional/Form/Config/PluginConfigFormTestBase.php, line 60

Class

PluginConfigFormTestBase
Testbase for purge_ui configuration forms (for plugins).

Namespace

Drupal\Tests\purge_ui\Functional\Form\Config

Code

public function setUp($switch_to_memory_queue = TRUE) : void {
  parent::setUp($switch_to_memory_queue);
  $this->routeParameters['id'] = $this->pluginId;
  $this->formArgs[0]['id'] = $this->pluginId;
  $this
    ->initializePlugin();
}