You are here

function publishcontent_config_form in Publish Content 6

Same name and namespace in other branches
  1. 7 publishcontent.admin.inc \publishcontent_config_form()

@file Contains page callbacks for publishcontent

1 string reference to 'publishcontent_config_form'
publishcontent_menu in ./publishcontent.module
Implements of hook_menu().

File

./publishcontent.admin.inc, line 8
Contains page callbacks for publishcontent

Code

function publishcontent_config_form() {
  $form['publishcontent_tabs'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display Publish/Unpublish tabs'),
    '#default_value' => variable_get('publishcontent_tabs', TRUE),
    '#description' => t("Uncheck this box to hide the publish/unpublish tabs on nodes."),
  );
  return system_settings_form($form);
}