function ViewUI::addDisplay

Same name in other branches
  1. 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addDisplay()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addDisplay()
  3. 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addDisplay()

Overrides ViewEntityInterface::addDisplay

File

core/modules/views_ui/src/ViewUI.php, line 1249

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function addDisplay($plugin_id = 'page', $title = NULL, $id = NULL) {
    return $this->storage
        ->addDisplay($plugin_id, $title, $id);
}

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