public function SolrFieldTypeController::enableOnServer in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Controller/SolrFieldTypeController.php \Drupal\search_api_solr\Controller\SolrFieldTypeController::enableOnServer()
Enables a Solr Entity on this server.
Parameters
\Drupal\search_api\ServerInterface $search_api_server: Search API server.
\Drupal\search_api_solr\SolrConfigInterface $solr_field_type: Solr field type.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse Redirect response.
Throws
\Drupal\Core\Entity\EntityStorageException
Overrides AbstractSolrEntityController::enableOnServer
1 string reference to 'SolrFieldTypeController::enableOnServer'
File
- src/
Controller/ SolrFieldTypeController.php, line 84
Class
- SolrFieldTypeController
- Provides different listings of SolrFieldType.
Namespace
Drupal\search_api_solr\ControllerCode
public function enableOnServer(ServerInterface $search_api_server, SolrConfigInterface $solr_field_type) {
return parent::enableOnServer($search_api_server, $solr_field_type);
}