You are here

public function ReportEditor::cancel in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Editor/ReportEditor.php \Drupal\forena\Editor\ReportEditor::cancel()

File

src/Editor/ReportEditor.php, line 87
ReportEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

ReportEditor

Namespace

Drupal\forena\Editor

Code

public function cancel() {
  unset($_SESSION['forena_report_editor'][$this->report_name]);
  drupal_get_messages('warning');
}