You are here

function commerce_price_table_help in Commerce Price Table 8

Implements hook_help().

File

./commerce_price_table.module, line 12
Contains commerce_price_table.module

Code

function commerce_price_table_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.commerce_price_table':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This is a contributed module for Drupal Commerce that allows you to use a secondary price field to supply an alternate price for a product based on the quantity of that product on the line item. ') . '</p>';
      $output .= '<p>' . t('It also provides a field formatter to display the price/quantity values as a table. ') . '</p>';
      return $output;
  }
}