You are here

function heartbeat_messages_import in Heartbeat 6.4

Import for heartbeat message templates().

1 string reference to 'heartbeat_messages_import'
heartbeat_menu in ./heartbeat.module
Implementation of hook_menu().

File

./heartbeat.admin.inc, line 1398
Admnistration tasks for heartbeat.

Code

function heartbeat_messages_import($form_state = array()) {
  $form = array();
  $form['import'] = array(
    '#type' => 'textarea',
    '#default_valu' => '',
    '#title' => t('Paste your export here'),
    '#rows' => 15,
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Import'),
  );
  return $form;
}