You are here

function _webform_share_eval in Webform share 7

Same name and namespace in other branches
  1. 6 webform_share.module \_webform_share_eval()

Private helper function to assist in getting the information from the webform dump.

2 calls to _webform_share_eval()
webform_share_components_update_form_submit in ./webform_share.module
Submit callback to update the node.
webform_share_node_insert in ./webform_share.module
Implements hook_node_insert().

File

./webform_share.module, line 333
Module to handle importing and exporting of webforms, as well as adding the ability to set content type defaults.

Code

function _webform_share_eval($str) {
  eval($str);
  return empty($webform) ? FALSE : $webform;
}