You are here

public function BookLocalTasksTest::getBookAdminRoutes in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::getBookAdminRoutes()

Provides a list of routes to test.

File

core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php, line 37

Class

BookLocalTasksTest
Tests existence of book local tasks.

Namespace

Drupal\Tests\book\Unit\Menu

Code

public function getBookAdminRoutes() {
  return [
    [
      'book.admin',
    ],
    [
      'book.settings',
    ],
  ];
}