public static function Views::getEnabledDisplayExtenders in Drupal 8
Same name and namespace in other branches
- 9 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/ tests/ src/ Kernel/ 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 184
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);
}