protected function PanopolySearchCondition::getOptions in Panopoly 8.2
Gets the backend options.
Return value
array An associative array of backend options.
2 calls to PanopolySearchCondition::getOptions()
- PanopolySearchCondition::buildConfigurationForm in modules/
panopoly/ panopoly_search/ src/ Plugin/ Condition/ PanopolySearchCondition.php - Form constructor.
- PanopolySearchCondition::summary in modules/
panopoly/ panopoly_search/ src/ Plugin/ Condition/ PanopolySearchCondition.php - Provides a human readable summary of the condition's configuration.
File
- modules/
panopoly/ panopoly_search/ src/ Plugin/ Condition/ PanopolySearchCondition.php, line 95
Class
- PanopolySearchCondition
- Condition plugin for testing which Panopoly Search backend is being used.
Namespace
Drupal\panopoly_search\Plugin\ConditionCode
protected function getOptions() {
return [
'none' => $this
->t('None'),
'panopoly_search_db' => $this
->t('Database'),
'panopoly_search_solr' => $this
->t('SOLR'),
];
}