public function PantheonSolrConnector::submitConfigurationForm in Search API Pantheon 8
File
- src/
Plugin/ SolrConnector/ PantheonSolrConnector.php, line 138 - Provide a connection to Pantheon's Solr instance.
Class
- PantheonSolrConnector
- Standard Solr connector.
Namespace
Drupal\search_api_pantheon\Plugin\SolrConnectorCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
// Setting the configuration here will allow the simple configuration,
// just the schema file, to be saved to the Search API server config entity.
// When this plugin is reloaded, $this->configuration, will be repopulated
// with $this->internalConfiguration().
$this->configuration = $form_state
->getValues();
$this
->postSchema();
}