1 utility.inc views_get_enabled_display_extenders()

Get enabled display extenders.

File

core/modules/views/includes/utility.inc, line 513
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;
}