You are here

function flexiform_forms in Flexiform 7

Implements hook_forms().

File

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

Code

function flexiform_forms($form_id, $args) {
  $forms = array();
  $parts = explode('__', $form_id);
  if ($parts[0] == 'flexiform') {
    $forms[$form_id] = array(
      'callback' => 'flexiform',
      'wrapper_callback' => 'flexiform_form_wrapper',
    );
  }
  return $forms;
}