You are here

function fitvids_form in FitVids 6

Same name and namespace in other branches
  1. 7 fitvids.module \fitvids_form()

Configuraton form, called by drupal_get_form() in current_posts_menu().

1 string reference to 'fitvids_form'
fitvids_menu in ./fitvids.module
Implements hook_menu().

File

./fitvids.module, line 65
Includes the FitVids.js jQuery plugin for fluid width video embeds.

Code

function fitvids_form() {
  $form = array();
  $form['fitvids_selectors'] = array(
    '#type' => 'textarea',
    '#title' => t('Video containers'),
    '#default_value' => variable_get('fitvids_selectors', DEFAULT_REGIONS),
    '#rows' => 5,
    '#description' => t('Enter some jQuery selectors for your video containers. Use a new line for each selector.'),
    '#required' => TRUE,
  );
  return system_settings_form($form);
}