function PathHooksTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/path_alias/tests/src/Kernel/PathHooksTest.php \Drupal\Tests\path_alias\Kernel\PathHooksTest::setUp()
  2. 8.9.x core/modules/path_alias/tests/src/Kernel/PathHooksTest.php \Drupal\Tests\path_alias\Kernel\PathHooksTest::setUp()
  3. 10 core/modules/path_alias/tests/src/Kernel/PathHooksTest.php \Drupal\Tests\path_alias\Kernel\PathHooksTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/path_alias/tests/src/Kernel/PathHooksTest.php, line 27

Class

PathHooksTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21path_alias%21src%21Entity%21PathAlias.php/class/PathAlias/11.x" title="Defines the path_alias entity class." class="local">\Drupal\path_alias\Entity\PathAlias</a>

Namespace

Drupal\Tests\path_alias\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('path_alias');
}

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