function ActionTest::setUp
Same name in other branches
- 9 core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()
- 8.9.x core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()
- 10 core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ system/ tests/ src/ Kernel/ Action/ ActionTest.php, line 34
Class
- ActionTest
- Tests action plugins.
Namespace
Drupal\Tests\system\Kernel\ActionCode
protected function setUp() : void {
parent::setUp();
$this->actionManager = $this->container
->get('plugin.manager.action');
$this->installEntitySchema('user');
$this->installConfig('user');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.