You are here

function _filefield_paths_include_updater_filefield_paths_form_options in File (Field) Paths 6.2

Implements hook_filefield_paths_form_options().

File

includes/updater.inc, line 9

Code

function _filefield_paths_include_updater_filefield_paths_form_options($widget) {
  $options = array();
  $options['updater'] = array(
    '#title' => t('Updater mode'),
    '#type' => 'select',
    '#options' => array(
      'none' => t('None'),
      'active' => t('Active'),
      'retroactive' => t('Retroactive'),
    ),
    '#default_value' => $widget['updater'],
  );
  return $options;
}