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. 10 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 32

Class

ActionTest
Tests action plugins.

Namespace

Drupal\Tests\system\Kernel\Action

Code

protected function setUp() {
    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.