public function ViewUI::getDisplay in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getDisplay()
- 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getDisplay()
Retrieves a specific display's configuration by reference.
Parameters
string $display_id: The display ID to retrieve, e.g., 'default', 'page_1', 'block_2'.
Return value
array A reference to the specified display configuration.
Overrides ViewEntityInterface::getDisplay
File
- core/
modules/ views_ui/ src/ ViewUI.php, line 906
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function &getDisplay($display_id) {
return $this->storage
->getDisplay($display_id);
}