function oembed_providers_reset in oEmbed 7
Same name and namespace in other branches
- 7.0 oembed.module \oembed_providers_reset()
Reset the registered provider caches.
6 calls to oembed_providers_reset()
- oembedembedly_admin_submit in modules/
oembedembedly/ oembedembedly.admin.inc - Submit handler clears cache to refresh providers.
- oembedembedly_providers in modules/
oembedembedly/ oembedembedly.module - Calls and caches embed.ly services api.
- oembed_provider_ui::delete_form_submit in plugins/
export_ui/ oembed_provider_ui.class.php - Overrides ctools_export_ui::delete_form_submit().
- oembed_provider_ui::edit_form_import_submit in plugins/
export_ui/ oembed_provider_ui.class.php - Overrides ctools_export_ui::edit_form_import_submit().
- oembed_provider_ui::edit_form_submit in plugins/
export_ui/ oembed_provider_ui.class.php - Overrides ctools_export_ui::edit_form_submit().
File
- ./
oembed.module, line 220 - Core functionality for oEmbed
Code
function oembed_providers_reset() {
ctools_include('plugins');
ctools_get_plugins_reset();
$info = ctools_plugin_get_info('oembed', 'providers');
cache_clear_all('plugins:oembed:providers', $info['cache table']);
}