You are here

function _webform_components_encode in Webform 5

File

./webform.module, line 1884

Code

function _webform_components_encode($components) {
  if (is_array($components)) {
    foreach ($components as $cid => $value) {
      if (is_string($value)) {
        $components[$cid] = base64_encode(serialize($value));
      }
    }
  }
  return $components;
}