protected function SuggestionAdminForm::setSynced in Autocomplete Search Suggestions 8.2
Same name and namespace in other branches
- 8 src/Form/SuggestionAdminForm.php \Drupal\suggestion\Form\SuggestionAdminForm::setSynced()
- 3.0.x src/Form/SuggestionAdminForm.php \Drupal\suggestion\Form\SuggestionAdminForm::setSynced()
Set the synced value.
Parameters
bool $synced: The synced value.
Return value
object A configuration object.
1 call to SuggestionAdminForm::setSynced()
- SuggestionAdminForm::submitForm in src/
Form/ SuggestionAdminForm.php - Submit function for the suggestion configuration form.
File
- src/
Form/ SuggestionAdminForm.php, line 357
Class
- SuggestionAdminForm
- Suggestion configuration form.
Namespace
Drupal\suggestion\FormCode
protected function setSynced($synced) {
return Helper::setConfig('synced', (bool) $synced);
}