You are here

public function TaxonomyLocalTasksTest::getTaxonomyPageRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php \Drupal\Tests\taxonomy\Unit\Menu\TaxonomyLocalTasksTest::getTaxonomyPageRoutes()

Provides a list of routes to test.

File

core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php, line 40
Contains \Drupal\Tests\taxonomy\Unit\Menu\TaxonomyLocalTasksTest.

Class

TaxonomyLocalTasksTest
Tests existence of taxonomy local tasks.

Namespace

Drupal\Tests\taxonomy\Unit\Menu

Code

public function getTaxonomyPageRoutes() {
  return array(
    array(
      'entity.taxonomy_term.canonical',
    ),
    array(
      'entity.taxonomy_term.edit_form',
    ),
  );
}