You are here

protected function ViewsTest::indexItems in Search API Multilingual Solr Search 8

Indexes all (unindexed) items on the specified index.

Parameters

string $index_id: The ID of the index on which items should be indexed.

Return value

int The number of successfully indexed items.

Overrides ExampleContentTrait::indexItems

1 call to ViewsTest::indexItems()
ViewsTest::setUp in tests/src/Functional/ViewsTest.php

File

tests/src/Functional/ViewsTest.php, line 80

Class

ViewsTest
Tests the Views integration of the Search API.

Namespace

Drupal\Tests\search_api_solr_multilingual\Functional

Code

protected function indexItems($index_id) {
  $index_status = parent::indexItems($index_id);
  sleep(2);
  return $index_status;
}