You are here

function waypoints_settings_form in jQuery waypoints 7

Build waypoints_settings_form form.

Parameters

array $form_state:

Return value

array The created form.

1 string reference to 'waypoints_settings_form'
waypoints_menu in ./waypoints.module
Implement of hook_menu().

File

includes/waypoints.admin.inc, line 16
@author Kálmán Hosszu - hosszu.kalman@gmail.com - http://www.kalman-hosszu.com

Code

function waypoints_settings_form($form_state) {
  $form = array();
  $form['waypoints_always_add_js'] = array(
    '#type' => 'checkbox',
    '#title' => t('Always include JavaScript file to the site.'),
    '#default_value' => variable_get('waypoints_always_add_js'),
  );
  return system_settings_form($form);
}