You are here

function commerce_cart_redirection_help in Commerce Cart Redirection 8.2

Same name and namespace in other branches
  1. 3.0.x commerce_cart_redirection.module \commerce_cart_redirection_help()

Implements hook_help().

File

./commerce_cart_redirection.module, line 13
Contains commerce_cart_redirection.module.

Code

function commerce_cart_redirection_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the commerce_cart_redirection module.
    case 'help.page.commerce_cart_redirection':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Redirect to your cart page after adding a product to it') . '</p>';
      return $output;
    default:
  }
}