You are here

function ml_flickr_settings in Media Library 6

Settings form

1 string reference to 'ml_flickr_settings'
ml_flickr_ml_image_source in ml_image/ml_flickr/ml_flickr.module
Implementation of hook_ml_image_source()

File

ml_image/ml_flickr/ml_flickr.module, line 189
This module aims to provide some basic sources for images to use with Media Library, such as navigating on existing files and uploading new images

Code

function ml_flickr_settings($form_state) {
  $form = array();
  $form['ml_flickr_destination'] = array(
    '#type' => 'textfield',
    '#title' => t('Flickr Images Destination'),
    '#description' => t('Directory to save images, relative to files dir. Defaults to "' . ML_FLICKR_DIR . '".'),
    '#size' => 40,
    '#maxlength' => 255,
    '#default_value' => variable_get('ml_flickr_destination', ML_FLICKR_DIR),
  );
  return $form;
}