You are here

function flexiform_load in Flexiform 7

Menu argument loader; Load a flexiform by string.

Parameters

$form: The machine-readable name of a flexiform to load.

Return value

A flexiform array or FALSE if $type does not exist.

11 calls to flexiform_load()
FlexiformElementFlexiform::getFlexiform in includes/element/flexiform.element.inc
Get the flexiform object of the embedded form.
flexiform_checkout_pane_checkout_form in ./flexiform.checkout.inc
Flexiform Checkout Pane Callback.
flexiform_ctools_access_get in ./flexiform.module
Implements hook_ctools_access_get.
flexiform_ctools_access_set in ./flexiform.module
Implements hook_ctools_access_set().
flexiform_modal_page_wrapper in ./flexiform.pages.inc
Page callback for flexiform pages that might be modals.

... See full list

File

./flexiform.module, line 297
Module for the Flexiform system.

Code

function flexiform_load($form) {
  return flexiform_get_flexiforms($form);
}