1 utility.inc views_get_enabled_display_extenders()

Get enabled display extenders.

File

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

Code

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

  return $enabled;
}