You are here

function feedapi_handler_field_url::options_form in FeedAPI 6

Provide link to the page being visited.

File

views/handlers/feedapi_handler_field_url.inc, line 25

Class

feedapi_handler_field_url
Field handler to provide title links to drupal nodes

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['display_url'] = array(
    '#title' => t('Display'),
    '#type' => 'select',
    '#options' => array(
      'title' => t("Node title as link"),
      'url' => t('URL as link'),
      'text' => t('URL as plain text'),
    ),
    '#default_value' => $this->options['display_url'],
  );
}