You are here

function date_ical_plugin_style_ical_feed::options_form in Date iCal 7

Same name and namespace in other branches
  1. 7.3 includes/date_ical_plugin_style_ical_feed.inc \date_ical_plugin_style_ical_feed::options_form()
  2. 7.2 includes/date_ical_plugin_style_ical_feed.inc \date_ical_plugin_style_ical_feed::options_form()

Provide a form to edit options for this plugin.

Overrides views_plugin_style_rss::options_form

File

./date_ical_plugin_style_ical_feed.inc, line 33
Views style plugin for the Date iCal module.

Class

date_ical_plugin_style_ical_feed
Default style plugin to render an iCal feed.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);

  // Override the text in the RSS description field.
  $form['description'] = array(
    '#type' => 'textfield',
    '#title' => t('iCal description'),
    '#default_value' => $this->options['description'],
    '#description' => t('This will appear as the title within the iCal feed. If ' . 'left blank, the View Title will be used. If that is also blank, the site ' . 'name will be inserted as the iCal feed title.'),
  );
}