You are here

public function BlockEditor::saveParms in Forena Reports 7.5

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

Persist paramaters for a block into a session

File

src/Editor/BlockEditor.php, line 230

Class

BlockEditor

Namespace

Drupal\forena\Editor

Code

public function saveParms() {
  $parms = Frx::Data()
    ->getContext('parm');
  $_SESSION['forena_data_block_parms'][$this->block_name] = $parms;
}