You are here

public function simple_timeline_style_plugin::options_form in A Simple Timeline 7

Modifies the options form inherited by this plugin.

Parameters

array $form: The form being generated.

array $form_state: The state that the form has been posted in.

Overrides views_plugin_style_list::options_form

File

./simple_timeline_style_plugin.inc, line 24
Contains the simple timeline style plugin. Created by JetBrains PhpStorm. User: alan

Class

simple_timeline_style_plugin
Style plugin to render each item on a simple timeline.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['type']['#type'] = 'hidden';
  $form['row_class_special']['#title'] .= t(' (required on timelines)');
  $form['row_class_special']['#disabled'] = TRUE;
}