ViewUI::getDisplay

public &ViewUI::getDisplay($display_id)

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 901

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function &getDisplay($display_id) {
  return $this->storage->getDisplay($display_id);
}
doc_Drupal
2016-10-29 09:55:57
Comments
Leave a Comment

Please login to continue.