public function PantheonSolrConnector::buildConfigurationForm in Search API Pantheon 8
File
- src/
Plugin/ SolrConnector/ PantheonSolrConnector.php, line 116 - Provide a connection to Pantheon's Solr instance.
Class
- PantheonSolrConnector
- Standard Solr connector.
Namespace
Drupal\search_api_pantheon\Plugin\SolrConnectorCode
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$form['schema'] = array(
'#type' => 'radios',
'#title' => $this
->t('Schema file'),
'#options' => $this
->findSchemaFiles(),
'#description' => $this
->t('Select a Solr schema file to be POSTed to Pantheon\'s Solr server'),
'#default_value' => $this->configuration['schema'],
);
return $form;
}