function ConfigActionsTest::setUp

Same name in this branch
  1. 11.x core/modules/media/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\media\Kernel\ConfigActionsTest::setUp()
  2. 11.x core/modules/language/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\language\Kernel\ConfigActionsTest::setUp()
  3. 11.x core/modules/field/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\field\Kernel\ConfigActionsTest::setUp()
  4. 11.x core/modules/contact/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\contact\Kernel\ConfigActionsTest::setUp()
  5. 11.x core/modules/image/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\image\Kernel\ConfigActionsTest::setUp()
  6. 11.x core/modules/block/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\block\Kernel\ConfigActionsTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/node/tests/src/Kernel/ConfigActionsTest.php, line 29

Class

ConfigActionsTest
@group node

Namespace

Drupal\Tests\node\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig('node');
    $this->configActionManager = $this->container
        ->get('plugin.manager.config_action');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.