You are here

function draggableviews_admin in DraggableViews 6

Same name and namespace in other branches
  1. 6.3 draggableviews.module \draggableviews_admin()
  2. 6.2 draggableviews.module \draggableviews_admin()
  3. 7 draggableviews.module \draggableviews_admin()

* Implementing hook_admin

1 string reference to 'draggableviews_admin'
draggableviews_menu in ./draggableviews.module
* Implementing hook_menu

File

./draggableviews.module, line 23

Code

function draggableviews_admin() {
  $form['draggableviews_some_settings'] = array(
    '#type' => 'textfield',
    '#title' => t('Coming soon'),
    '#default_value' => variable_get('draggableviews_some_settings', 10),
    '#size' => 8,
    '#maxlength' => 8,
    '#description' => t("Some settings."),
    '#required' => TRUE,
  );
  return system_settings_form($form);
}