function hook_search_api_saved_searches_settings_presave in Search API Saved Searches 7
Acts on a settings entity being inserted or updated.
This hook is invoked before the settings entity is saved to the database.
Parameters
SearchApiSavedSearchSettings $settings: The settings entity that is being inserted or updated.
See also
File
- ./
search_api_saved_searches.api.php, line 144 - Hooks provided by the Search API saved searches module.
Code
function hook_search_api_saved_searches_settings_presave(SearchApiSavedSearchSettings $settings) {
$settings->options['foo'] = 'bar';
}