1.20.x utility.inc views_get_enabled_display_extenders()

Get enabled display extenders.

File

modules/views/includes/utility.inc, line 516
Utility functions for assembling Views queries.

Code

function views_get_enabled_display_extenders() {
  $enabled = array_filter(config_get('views.settings', 'display_extenders'));
  $options = views_fetch_plugin_names('display_extender');
  foreach ($options as $name => $plugin) {
    $enabled[$name] = $name;
  }

  return $enabled;
}