public static function Views::getEnabledDisplayExtenders in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Views.php \Drupal\views\Views::getEnabledDisplayExtenders()
- 10 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 - Tests 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);
}