Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Views.php

function Views::getEnabledDisplayExtenders

Gets enabled display extenders.

1 call to Views::getEnabledDisplayExtenders()
DisplayPluginBase::initDisplay in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Initializes the display plugin.

File

core/modules/views/src/Views.php, line 184

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

public static function getEnabledDisplayExtenders() {
    $enabled = array_filter((array) \Drupal::config('views.settings')->get('display_extenders'));
    return array_combine($enabled, $enabled);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal