Index: sites/all/modules/contrib/views/includes/plugins.inc IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/sites/all/modules/contrib/views/includes/plugins.inc b/sites/all/modules/contrib/views/includes/plugins.inc --- a/sites/all/modules/contrib/views/includes/plugins.inc (revision 3084765a460b445eb61309ee46fbee1d18d273e2) +++ b/sites/all/modules/contrib/views/includes/plugins.inc (date 1644431242411) @@ -583,15 +583,18 @@ } -/** - * Get enabled display extenders. - */ -function views_get_enabled_display_extenders() { - $enabled = array_filter(variable_get('views_display_extenders', array())); - $options = views_fetch_plugin_names('display_extender'); - foreach ($options as $name => $plugin) { - $enabled[$name] = $name; - } +if (!function_exists('views_get_enabled_display_extenders')) { + /** + * Get enabled display extenders. + */ + function views_get_enabled_display_extenders() { + $enabled = array_filter(variable_get('views_display_extenders', array())); + $options = views_fetch_plugin_names('display_extender'); + foreach ($options as $name => $plugin) { + $enabled[$name] = $name; + } - return $enabled; + return $enabled; + } + }