You are here

protected function LanguageAccessSimpleSitemapTest::setUp in Language access 8

Overrides LanguageAccessTestBase::setUp

File

tests/src/Functional/LanguageAccessSimpleSitemapTest.php, line 34

Class

LanguageAccessSimpleSitemapTest
Test language access in combination with simple_sitemap.

Namespace

Drupal\Tests\language_access\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->generator = $this->container
    ->get('simple_sitemap.generator');
  $this->generator
    ->setBundleSettings('node', 'page', [
    'index' => TRUE,
    'priority' => 0.5,
    'changefreq' => 'hourly',
  ]);
}