public static function Views::getEnabledDisplayExtenders in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Views.php \Drupal\views\Views::getEnabledDisplayExtenders()
Gets enabled display extenders.
2 calls to Views::getEnabledDisplayExtenders()
- DisplayExtenderTest::testDisplayExtenders in core/
modules/ views/ src/ Tests/ Plugin/ DisplayExtenderTest.php - Test display extenders.
- DisplayPluginBase::initDisplay in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Initializes the display plugin.
File
- core/
modules/ views/ src/ Views.php, line 188 - Contains \Drupal\views\Views.
Class
- Views
- Static service container wrapper for views.
Namespace
Drupal\viewsCode
public static function getEnabledDisplayExtenders() {
$enabled = array_filter((array) \Drupal::config('views.settings')
->get('display_extenders'));
return array_combine($enabled, $enabled);
}