public function NoUi::deleteItems in Search API 8
Deletes the specified items from the index.
Parameters
\Drupal\search_api\IndexInterface $index: The index from which items should be deleted.
string[] $item_ids: The IDs of the deleted items.
Throws
\Drupal\search_api\SearchApiException Thrown if an error occurred while trying to delete the items.
Overrides BackendSpecificInterface::deleteItems
File
- tests/
search_api_test_no_ui/ src/ Plugin/ search_api/ backend/ NoUi.php, line 30
Class
- NoUi
- Provides a test backend that should be hidden from the UI.
Namespace
Drupal\search_api_test_no_ui\Plugin\search_api\backendCode
public function deleteItems(IndexInterface $index, array $item_ids) {
}