protected function SuggestionAdminForm::getStopwords in Autocomplete Search Suggestions 3.0.x
Same name and namespace in other branches
- 8.2 src/Form/SuggestionAdminForm.php \Drupal\suggestion\Form\SuggestionAdminForm::getStopwords()
- 8 src/Form/SuggestionAdminForm.php \Drupal\suggestion\Form\SuggestionAdminForm::getStopwords()
Build a list of stopwords.
Return value
string A newline delimited string of stopwords.
1 call to SuggestionAdminForm::getStopwords()
- SuggestionAdminForm::buildForm in src/
Form/ SuggestionAdminForm.php - The suggestion configuration form.
File
- src/
Form/ SuggestionAdminForm.php, line 269
Class
- SuggestionAdminForm
- Suggestion configuration form.
Namespace
Drupal\suggestion\FormCode
protected function getStopwords() {
$stopwords = SuggestionHelper::getStops('stopwords');
return $stopwords ? implode("\n", array_keys($stopwords)) : '';
}