function ActionTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()
  2. 8.9.x core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()
  3. 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 34

Class

ActionTest
Tests action plugins.

Namespace

Drupal\Tests\system\Kernel\Action

Code

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.