You are here

function views_get_enabled_display_extenders in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 7.3 includes/plugins.inc \views_get_enabled_display_extenders()

Get enabled display extenders.

3 calls to views_get_enabled_display_extenders()
DisplayExtenderTest::testDisplayExtenders in lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php
Test display extenders.
DisplayPluginBase::init in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
views_ui_admin_settings_advanced in views_ui/admin.inc
Form builder for the advanced admin settings page.

File

./views.module, line 1445
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_get_enabled_display_extenders() {
  $enabled = array_filter((array) config('views.settings')
    ->get('display_extenders'));
  return drupal_map_assoc($enabled);
}