function ViewUI::createDuplicate

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

Overrides EntityInterface::createDuplicate

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function createDuplicate() {
    return $this->storage
        ->createDuplicate();
}

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