You are here

function entityform_forms in Entityform 7.2

Same name and namespace in other branches
  1. 7 entityform.module \entityform_forms()

Implements hook_forms().

File

./entityform.module, line 1722
Module for the Entityform Entity - a starting point to create your own Entity and associated administration interface

Code

function entityform_forms() {
  $types = entityform_get_types();
  $forms = array();
  foreach ($types as $machine_name => $type) {
    $forms[$machine_name . '_entityform_edit_form'] = array(
      'callback' => 'entityform_edit_form',
    );
  }
  return $forms;
}