You are here

public function TacjsSettings::serializeValuesForm in TacJS 8

Same name and namespace in other branches
  1. 8.2 src/TacjsSettings.php \Drupal\tacjs\TacjsSettings::serializeValuesForm()

Serialize Form values.

Parameters

mixed $formvalues: Variable serialize contains all config.

Return value

string Return variable.

File

src/TacjsSettings.php, line 311

Class

TacjsSettings
Class TacjsSettings.

Namespace

Drupal\tacjs

Code

public function serializeValuesForm(&$formvalues) {
  $formvalues = $this
    ->cleanValues($formvalues);
  return serialize($formvalues);
}