NoUi.php in Search API 8
File
tests/search_api_test_no_ui/src/Plugin/search_api/backend/NoUi.php
View source
<?php
namespace Drupal\search_api_test_no_ui\Plugin\search_api\backend;
use Drupal\search_api\Backend\BackendPluginBase;
use Drupal\search_api\IndexInterface;
use Drupal\search_api\Query\QueryInterface;
class NoUi extends BackendPluginBase {
public function indexItems(IndexInterface $index, array $items) {
return [];
}
public function deleteItems(IndexInterface $index, array $item_ids) {
}
public function deleteAllIndexItems(IndexInterface $index, $datasource_id = NULL) {
}
public function search(QueryInterface $query) {
}
}
Classes
Name |
Description |
NoUi |
Provides a test backend that should be hidden from the UI. |