Example #1
0
 /**
  * Creates a duplicate ViewExecutable object.
  *
  * Makes a copy of this view that has been sanitized of handlers, any runtime
  * data, ID, and UUID.
  */
 public function createDuplicate()
 {
     return $this->storage->createDuplicate()->getExecutable();
 }