You are here

function addanother_help in Add Another 7

Same name and namespace in other branches
  1. 8 addanother.module \addanother_help()
  2. 5 addanother.module \addanother_help()
  3. 6 addanother.module \addanother_help()
  4. 7.2 addanother.module \addanother_help()

Implement hook_help().

File

./addanother.module, line 12
Presents users with an option to create another node of the same type after a node is added.

Code

function addanother_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#addanother":
      $output = '<p>' . t("Presents users with an option to create another node of the same type after a node is added.") . '</p>';
      return $output;
    case 'admin/config/content/addanother':
      $output = '<p>' . t('Here you can select the content types for which an <em>"Add another..."</em> message will be displayed. After creating a new content node, users with the <a href="@addanother_permission">use add another</a> permission will receive a message allowing them to add another content node of the same type.', array(
        '@addanother_permission' => url('admin/config/people/permissions', array(
          'fragment' => 'module-addanother',
        )),
      )) . '</p>';
      return $output;
  }
}