You are here

function dnd_admin_form in Scald: Media Management made easy 6

Same name and namespace in other branches
  1. 7 modules/library/dnd/dnd.admin.inc \dnd_admin_form()

Provides the main DnD settings form.

1 string reference to 'dnd_admin_form'
dnd_menu in dnd/dnd.module
Implementation of hook_menu().

File

dnd/dnd.admin.inc, line 10
Provides the administration related parts of the DnD module.

Code

function dnd_admin_form() {
  $libraries = dnd_get_libraries();
  $form['dnd_callback_url'] = array(
    '#type' => 'select',
    '#title' => t('Library'),
    '#default_value' => dnd_get_library(),
    '#description' => t('The library that will available on node edit forms if they contains fields referencing rich media content, such as Multimedia Editorial Element or Ressource reference fields.'),
    '#options' => $libraries,
  );
  return system_settings_form($form);
}