protected function SuggestionAdminForm::setSynced in Autocomplete Search Suggestions 3.0.x
Same name and namespace in other branches
- 8.2 src/Form/SuggestionAdminForm.php \Drupal\suggestion\Form\SuggestionAdminForm::setSynced()
- 8 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 344
Class
- SuggestionAdminForm
- Suggestion configuration form.
Namespace
Drupal\suggestion\FormCode
protected function setSynced($synced) {
return SuggestionHelper::setConfig('synced', (bool) $synced);
}