function TermContextTest::setUp
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php \Drupal\Tests\taxonomy\Kernel\ContextProvider\TermContextTest::setUp()
- 10 core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php \Drupal\Tests\taxonomy\Kernel\ContextProvider\TermContextTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ taxonomy/ tests/ src/ Kernel/ ContextProvider/ TermContextTest.php, line 29
Class
- TermContextTest
- @coversDefaultClass \Drupal\taxonomy\ContextProvider\TermRouteContext
Namespace
Drupal\Tests\taxonomy\Kernel\ContextProviderCode
protected function setUp() : void {
parent::setUp();
$this->installConfig([
'filter',
]);
$this->installEntitySchema('user');
$this->installEntitySchema('taxonomy_term');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.