function publishcontent_views_handler_field_node_link::options_form in Publish Content 6
Same name and namespace in other branches
- 7 publishcontent_views_handler_field_node_link.inc \publishcontent_views_handler_field_node_link::options_form()
File
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'],
);
}