You are here

function shorten_sexybookmarks_form_alter_alter in Share Buttons, Related Posts, Content Analytics - Shareaholic 7

Same name and namespace in other branches
  1. 7.2 includes/shorten.inc \shorten_sexybookmarks_form_alter_alter()

Implements hook_sexybookmarks_form_alter_alter() on behalf of shorten.module.

File

includes/shorten.inc, line 10
Shorten module integration.

Code

function shorten_sexybookmarks_form_alter_alter(&$form, &$form_state, $form_id) {
  if ($form_id == 'ctools_export_ui_edit_item_form') {
    $form['config']['settings']['shortener']['#options'] = array_merge(array(
      'drupal_shorten' => t('Shorten module'),
    ), $form['config']['settings']['shortener']['#options']);
  }
}