You are here

public function SearchApiAlgoliaBackend::setModuleHandler in Search API Algolia 8

Same name and namespace in other branches
  1. 3.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::setModuleHandler()
  2. 2.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::setModuleHandler()

Sets the module handler to use for this plugin.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to use for this plugin.

Return value

$this

File

src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php, line 576

Class

SearchApiAlgoliaBackend
Class SearchApiAlgoliaBackend.

Namespace

Drupal\search_api_algolia\Plugin\search_api\backend

Code

public function setModuleHandler(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
  return $this;
}