function ActionTest::setUp
Same name in other branches
- 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()
- 11.x 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 32
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->installSchema('system', [
'sequences',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.