You are here

public function ViewEntityInterface::getDisplay in Drupal 10

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

2 methods override ViewEntityInterface::getDisplay()
View::getDisplay in core/modules/views/src/Entity/View.php
Retrieves a specific display's configuration by reference.
ViewUI::getDisplay in core/modules/views_ui/src/ViewUI.php
Retrieves a specific display's configuration by reference.

File

core/modules/views/src/ViewEntityInterface.php, line 29

Class

ViewEntityInterface
Defines an interface for View storage classes.

Namespace

Drupal\views

Code

public function &getDisplay($display_id);