You are here

function eck_forms in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 eck.module \eck_forms()
  2. 7 eck.module \eck_forms()

Implements hook_forms().

File

./eck.module, line 630

Code

function eck_forms($form_id, $args) {
  $forms = array();
  if (strpos($form_id, 'entity_table_select_') === 0) {
    $forms[$form_id] = array(
      'callback' => 'entity_table_select',
    );
  }
  elseif (strpos($form_id, 'eck__entity__form_') === 0) {
    $forms[$form_id] = array(
      'callback' => 'eck__entity__form',
    );
  }
  return $forms;
}