public function SearchApiQuery::getModuleHandler in Search API 8
Retrieves the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
File
- src/
Plugin/ views/ query/ SearchApiQuery.php, line 209
Class
- SearchApiQuery
- Defines a Views query class for searching on Search API indexes.
Namespace
Drupal\search_api\Plugin\views\queryCode
public function getModuleHandler() {
return $this->moduleHandler ?: \Drupal::moduleHandler();
}