You are here

function oembed_providers_reset in oEmbed 7.0

Same name and namespace in other branches
  1. 7 oembed.module \oembed_providers_reset()

Reset the registered provider caches.

6 calls to oembed_providers_reset()
oembedembedly_admin_submit in oembedembedly/oembedembedly.admin.inc
Submit handler clears cache to refresh providers.
oembedembedly_providers in 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().

... See full list

File

./oembed.module, line 204

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']);
}