You are here

function freelinking_path_settings in Freelinking 7.3

Settings form for path module

Return value

array form properties

1 string reference to 'freelinking_path_settings'
freelinking_path.inc in plugins/freelinking_path.inc

File

plugins/freelinking_path.inc, line 77

Code

function freelinking_path_settings() {
  $form['freelinking_path_basepath'] = array(
    '#type' => 'textfield',
    '#title' => t('Starting path for relative links'),
    '#default_value' => variable_get('freelinking_path_basepath', ''),
    '#description' => t('Set the  “base directory” internal to the site that all relative path links will build from (e.g. “node”). Leave empty for site root. (Relative path links have no initial slash or ending slash.)'),
  );
  return $form;
}