You are here

protected function SiteMapTestBase::getTags in Site map 8

Get tags.

Return value

array List of tags.

2 calls to SiteMapTestBase::getTags()
SiteMapCategoriesTest::setUp in src/Tests/SiteMapCategoriesTest.php
Sets up a Drupal site for running functional and integration tests.
SiteMapContentTest::testCategories in src/Tests/SiteMapContentTest.php
Tests categories.

File

src/Tests/SiteMapTestBase.php, line 74

Class

SiteMapTestBase
Base class for Site Map test cases.

Namespace

Drupal\site_map\Tests

Code

protected function getTags() {
  return array(
    $this
      ->randomMachineName(),
    $this
      ->randomMachineName(),
    $this
      ->randomMachineName(),
  );
}