You are here

public function BlockEditor::cancel in Forena Reports 7.5

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

Cancel the editing event.

File

src/Editor/BlockEditor.php, line 94

Class

BlockEditor

Namespace

Drupal\forena\Editor

Code

public function cancel() {
  unset($_SESSION['forena_query_editor'][$this->block_name]);
  drupal_get_messages('warning');
  $this->modified = FALSE;
}