You are here

function menu_link_field_settings_form in Menu Link (Field) 7

Implements hook_field_settings_form().

File

./menu_link.field.inc, line 37
Defines a menu link field type.

Code

function menu_link_field_settings_form($field, $instance, $has_data) {
  $settings = $field['settings'];
  $form = array();

  /* @todo Allow menu link fields to be used as a reference field? http://drupal.org/node/1028344
    $form['link_path_field'] = array(
      '#type' => 'checkbox',
      '#title' => t('Enable <em>Path</em> field'),
      '#default_value' => $settings['link_path_field'],
      '#description' => t('Allow users to set the path of menu links. When not checked the uri of the entity being edited is used.'),
    );*/
  return $form;
}