function View::createDuplicate
Same name in other branches
- 8.9.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::createDuplicate()
- 10 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::createDuplicate()
- 11.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::createDuplicate()
Overrides ConfigEntityBase::createDuplicate
File
-
core/
modules/ views/ src/ Entity/ View.php, line 132
Class
- View
- Defines a View configuration entity class.
Namespace
Drupal\views\EntityCode
public function createDuplicate() {
$duplicate = parent::createDuplicate();
unset($duplicate->executable);
return $duplicate;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.