You are here

function _publishcontent_get_method in Publish Content 7

Get the configured publish content method.

2 calls to _publishcontent_get_method()
publishcontent_form_node_form_alter in ./publishcontent.module
Implements hook_form_FORM_ID_alter().
_publishcontent_get_menutype in ./publishcontent.module
Helper function for hook_menu to get the menu type for the current setup.

File

./publishcontent.module, line 522
Add link to publish or unpublish a node, with access control based on the node type

Code

function _publishcontent_get_method() {
  return variable_get('publishcontent_method', PUBLISHCONTENT_METHOD_TABS);
}