You are here

function publishcontent_views_handler_field_node_link::options_form in Publish Content 6

Same name and namespace in other branches
  1. 7 publishcontent_views_handler_field_node_link.inc \publishcontent_views_handler_field_node_link::options_form()

File

./publishcontent_views_handler_field_node_link.inc, line 23

Class

publishcontent_views_handler_field_node_link
Field handler to present a link node publish.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['publish'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display for publishing'),
    '#default_value' => $this->options['publish'],
  );
  $form['unpublish'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display for unpublishing'),
    '#default_value' => $this->options['unpublish'],
  );
}