You are here

public function LocalTasksTest::getPageRoutesIndex in Search API 8

Provides a list of routes to test.

Return value

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

File

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

Class

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

Namespace

Drupal\Tests\search_api\Unit

Code

public function getPageRoutesIndex() {
  return [
    [
      'entity.search_api_index.canonical',
    ],
    [
      'entity.search_api_index.edit_form',
    ],
    [
      'entity.search_api_index.fields',
    ],
    [
      'entity.search_api_index.processors',
    ],
  ];
}