function View::getDisplay

Same name in other branches
  1. 9 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::getDisplay()
  2. 8.9.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::getDisplay()
  3. 10 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::getDisplay()

Overrides ViewEntityInterface::getDisplay

1 call to View::getDisplay()
View::addCacheMetadata in core/modules/views/src/Entity/View.php
Fills in the cache metadata of this view.

File

core/modules/views/src/Entity/View.php, line 227

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Entity

Code

public function &getDisplay($display_id) {
    return $this->display[$display_id];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.