You are here

function webform_get_conditional_sorter in Webform 7.4

Returns a new or cached WebformConditionals object for the specified node.

@returns object Object of type WebformConditionals, possibly with the conditionals already analyzed for dependencies.

Parameters

object $node: The loaded webform node.

5 calls to webform_get_conditional_sorter()
webform_client_form in ./webform.module
Client form generation function.
webform_submission_render in includes/webform.submissions.inc
Prepare a Webform submission for display on a page or in an e-mail.
_webform_client_form_add_component in ./webform.module
Add a component to a renderable array. Called recursively for fieldsets.
_webform_client_form_validate in ./webform.module
Recursive validation function to trigger normal Drupal validation.
_webform_render_markup_after_build in components/markup.inc
Helper function to replace tokens in markup component.

File

./webform.module, line 4041
This module provides a simple way to create forms and questionnaires.

Code

function webform_get_conditional_sorter($node) {
  return WebformConditionals::factory($node);
}