function BreadcrumbPreprocessTest::setUp
Same name and namespace in other branches
- 11.x core/themes/default_admin/tests/src/Kernel/BreadcrumbPreprocessTest.php \Drupal\Tests\default_admin\Kernel\BreadcrumbPreprocessTest::setUp()
File
-
core/
themes/ default_admin/ tests/ src/ Kernel/ BreadcrumbPreprocessTest.php, line 43
Class
- BreadcrumbPreprocessTest
- Tests breadcrumb preprocessing for entities.
Namespace
Drupal\Tests\default_admin\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('user');
$this->installEntitySchema('node');
$this->installEntitySchema('entity_test');
$this->installEntitySchema('menu_link_content');
$this->installConfig([
'filter',
'node',
]);
$this->container
->get('theme_installer')
->install([
'default_admin',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.