public function Database::getModuleHandler in Search API 8
Returns the module handler to use for this plugin.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
File
- modules/
search_api_db/ src/ Plugin/ search_api/ backend/ Database.php, line 252
Class
- Database
- Indexes and searches items using the database.
Namespace
Drupal\search_api_db\Plugin\search_api\backendCode
public function getModuleHandler() {
return $this->moduleHandler ?: \Drupal::moduleHandler();
}