You are here

function module_builder_module_builder in Module Builder 6

File

./module_builder.components.inc, line 3

Code

function module_builder_module_builder() {
  return array(
    array(
      'title' => t('Edit'),
      'machine' => 'edit',
      'callback' => 'module_builder_edit_form',
      'default' => TRUE,
      'submit' => 'module_builder_edit_form_submit',
    ),
    array(
      'title' => t('Menu'),
      'machine' => 'menu',
      'callback' => 'module_builder_menu_form',
    ),
    array(
      'title' => t('Node'),
      'machine' => 'node',
      'callback' => 'module_builder_node_form',
      'export' => 'module_builder_node_export',
    ),
    array(
      'title' => t('Delete'),
      'machine' => 'delete',
      'callback' => 'module_builder_delete_form',
      'submit' => 'module_builder_delete_form_submit',
      'submit_button' => FALSE,
    ),
    array(
      'title' => t('Export'),
      'machine' => 'export',
      'callback' => 'module_builder_export_form',
      'submit_button' => FALSE,
    ),
  );
}