public function Query::getModuleHandler in Search API 8
Retrieves the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
File
- src/
Query/ Query.php, line 239
Class
- Query
- Provides a standard implementation for a Search API query.
Namespace
Drupal\search_api\QueryCode
public function getModuleHandler() {
return $this->moduleHandler ?: \Drupal::moduleHandler();
}