/** * Overrides ctools_export_ui::set_item_state(). */ function set_item_state($state, $js, $input, $item) { // Clear the oEmbed provider cache. oembed_providers_reset(); return parent::set_item_state($state, $js, $input, $item); }