public function IndexResource::__construct in JSON:API Search API 8
Constructs a new IndexResource object.
Parameters
\Drupal\search_api\ParseMode\ParseModePluginManager $parse_mode_manager: The parse mode manager.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher service.
File
- src/
Resource/ IndexResource.php, line 48
Class
- IndexResource
- JSON:API Resource to return Search API index results.
Namespace
Drupal\jsonapi_search_api\ResourceCode
public function __construct(ParseModePluginManager $parse_mode_manager, EventDispatcherInterface $event_dispatcher) {
$this->parseModeManager = $parse_mode_manager;
$this->eventDispatcher = $event_dispatcher;
}