You are here

public function RulesFormsFormWrapper::getFormId in Rules Forms Support 7.2

Returns the form ID of the form.

File

includes/rules_forms.wrapper.inc, line 66
Manages and Process Form structure.

Class

RulesFormsFormWrapper
Wrapper class for form arrays.

Code

public function getFormId() {
  $data = $this
    ->value();
  if (isset($data['form_id'])) {
    return $data['form_id']['#value'];
  }
  return NULL;
}