Skip to content
Snippets Groups Projects

Issue #3164626 - Update code

Merged Viktor Holovachek requested to merge issue/oembed-3164626:3164626-automated-drupal-9 into 8.x-1.x
12 files
+ 33
29
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -58,7 +58,7 @@ function oembedembedly_provider_get_child($plugin, $parent, $child) {
*
*/
function oembedembedly_provider_callback($plugin, $url, $matches, $parameters) {
$parameters['key'] = variable_get('oembedembedly_api_key', NULL);
$parameters['key'] = \Drupal::state()->get('oembedembedly_api_key', NULL);
// This guarantees that the plugin's file is loaded.
$function = ctools_plugin_load_function('oembed', 'providers', 'default', 'callback');
Loading