You are here

public function ViewUI::getDisplay in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getDisplay()
  2. 9 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_ui

Code

public function &getDisplay($display_id) {
  return $this->storage
    ->getDisplay($display_id);
}