protected function ProcessorIntegrationTest::loadIndex in Search API 8
Loads the search index used by this test.
Return value
\Drupal\search_api\IndexInterface The search index used by this test.
7 calls to ProcessorIntegrationTest::loadIndex()
- ProcessorIntegrationTest::checkAggregatedFieldsIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the integration of the "Aggregated fields" processor.
- ProcessorIntegrationTest::checkContentAccessIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the UI for the "Content access" processor.
- ProcessorIntegrationTest::checkLanguageWithFallbackIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the integration of the "Language (with fallback)" processor.
- ProcessorIntegrationTest::checkNoUiIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the "No UI" test processor.
- ProcessorIntegrationTest::checkRenderedItemIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the integration of the "Rendered item" processor.
File
- tests/
src/ Functional/ ProcessorIntegrationTest.php, line 886
Class
- ProcessorIntegrationTest
- Tests the admin UI for processors.
Namespace
Drupal\Tests\search_api\FunctionalCode
protected function loadIndex() {
$index_storage = \Drupal::entityTypeManager()
->getStorage('search_api_index');
$index_storage
->resetCache([
$this->indexId,
]);
return $index_storage
->load($this->indexId);
}