function TermContextTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ taxonomy/ tests/ src/ Kernel/ ContextProvider/ TermContextTest.php, line 29
Class
- TermContextTest
- @coversDefaultClass \Drupal\taxonomy\ContextProvider\TermRouteContext[[api-linebreak]]
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.