public static function Views::getEnabledDisplayExtenders in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Views.php \Drupal\views\Views::getEnabledDisplayExtenders()
- 9 core/modules/views/src/Views.php \Drupal\views\Views::getEnabledDisplayExtenders()
Gets enabled display extenders.
1 call to Views::getEnabledDisplayExtenders()
- DisplayExtenderTest::testDisplayExtenders in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayExtenderTest.php - Tests display extenders.
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);
}