function publish_button_help in Publish button 7
Implements hook_help().
File
- ./
publish_button.module, line 15 - Functions to create a publish button. Real simple, but could be needed.
Code
function publish_button_help($path, $arg) {
switch ($path) {
case 'admin/help#publish_button':
return '<h2>' . t('Usage of Publish button') . '</h2>
<p>' . t('After installation, on each content type there are a
new setting, Publish button, and to activate publish/unpublish button
for that content type, you need to check "Use publish/unpublish button
for this content type" and then click save.') . '</p>
<p>' . t('Now you need to add permissions for which user roles which
are allowed to publsih content.') . '</p>
<p>' . t('Now, when you create a new node, there are a
publish or unpublish button for all the content types that have the
button settings.') . '</p>';
}
}