Form callback: builds the form for adding a shortcut set.
$form: An associative array containing the structure of the form.
$form_state: An associative array containing the current state of the form.
An array representing the form definition.
shortcut_set_add_form_validate()
shortcut_set_add_form_submit()
function shortcut_set_add_form($form, &$form_state) {
$form['new'] = array(
'#type' => 'textfield',
'#title' => t('Set name'),
'#description' => t('The new set is created by copying items from your default shortcut set.'),
'#required' => TRUE,
);
$form['actions'] = array(
'#type' => 'actions',
);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Create new set'),
);
return $form;
}