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