You are here

function views_get_enabled_display_extenders in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 8.3 views.module \views_get_enabled_display_extenders()

Get enabled display extenders.

2 calls to views_get_enabled_display_extenders()
views_plugin_display::init in plugins/views_plugin_display.inc
views_ui_admin_settings_advanced in includes/admin.inc
Form builder for the advanced admin settings page.

File

includes/plugins.inc, line 589
Built in plugins for Views output handling.

Code

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;
}