public function DevelController::__construct in Search API Solr 8
Constructs a DevelController object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\search_api\Backend\BackendPluginManager $backend_plugin_manager: The backend plugin manager.
\Drupal\devel\DevelDumperManager $devel_dumper_manager: The Devel dumper manager.
\Drupal\search_api\Utility\FieldsHelperInterface $fields_helper: The Search API Fields Helper.
File
- src/
Controller/ DevelController.php, line 60
Class
- DevelController
- Returns responses for devel module routes.
Namespace
Drupal\search_api_solr\ControllerCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, BackendPluginManager $backend_plugin_manager, DevelDumperManager $devel_dumper_manager, FieldsHelperInterface $fields_helper) {
$this->storage = $entity_type_manager
->getStorage('search_api_server');
$this->backendPluginManager = $backend_plugin_manager;
$this->develDumperManager = $devel_dumper_manager;
$this->fieldsHelper = $fields_helper;
}