You are here

function commerce_cart_redirection_help in Commerce Cart Redirection 3.0.x

Same name and namespace in other branches
  1. 8.2 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, checkout or other url when a user adds a selected product variation bundle to their cart.') . '</p>';
      return $output;
    default:
  }
}