Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. View.php

function 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];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal