You are here

function eck_forms in Entity Construction Kit (ECK) 7.3

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

Implements hook_forms().

File

./eck.module, line 550

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;
}