protected function DevelController::getStorage in Search API Solr 8.2
Retrieves the server storage controller.
Return value
\Drupal\Core\Entity\EntityStorageInterface The server storage controller.
File
- search_api_solr_devel/
src/ Controller/ DevelController.php, line 85
Class
- DevelController
- Returns responses for devel module routes.
Namespace
Drupal\search_api_solr_devel\ControllerCode
protected function getStorage() {
return $this->storage ?: \Drupal::service('entity_type.manager')
->getStorage('search_api_server');
}