You are here

public function LocalTasksTest::getPageRoutesServer in Search API 8

Provides a list of routes to test.

Return value

array[] An array containing arrays with the arguments for a testLocalTasksServer() call.

File

tests/src/Unit/LocalTasksTest.php, line 53

Class

LocalTasksTest
Tests whether Search API's local tasks work correctly.

Namespace

Drupal\Tests\search_api\Unit

Code

public function getPageRoutesServer() {
  return [
    [
      'entity.search_api_server.canonical',
    ],
    [
      'entity.search_api_server.edit_form',
    ],
  ];
}