function ctools_token_content_type_edit_form

Returns an edit form for custom type settings.

File

plugins/content_types/token/token.inc, line 96

Code

function ctools_token_content_type_edit_form($form, &$form_state) {
  $conf = $form_state['conf'];
  $form['sanitize'] = array(
    '#type' => 'checkbox',
    '#default_value' => !empty($conf['sanitize']),
    '#title' => t('Sanitize'),
    '#description' => t('When enabled that output of the token will be stripped from dangerous HTML.'),
  );
  return $form;
}