You are here

function bootstrap_modal_messages_help in Bootstrap Modal Messages 7

Same name and namespace in other branches
  1. 8 bootstrap_modal_messages.module \bootstrap_modal_messages_help()

Implements hook_help().

File

./bootstrap_modal_messages.module, line 47
Main functions for bootstrap_modal_messages module.

Code

function bootstrap_modal_messages_help($path, $arg) {
  switch ($path) {

    // On the help overview page.
    case 'admin/help#bootstrap_modal_messages':
      return '<p>' . t('Transform Drupal messages into Bootstrap Modals. The <a href="@admin">administration page</a> provides settings to a few options.', array(
        '@admin' => url('admin/config/user-interface/bootstrap_modal_messages'),
      )) . '</p>';

    // On the admin settings page.
    case 'admin/config/user-interface/bootstrap_modal_messages':
      return '<p>' . t('This page provides configuration options for bootstrap_modal_messages.module. You can configure how multiple messages are grouped.') . '</p>';
  }
}