You are here

function uc_file_help in Ubercart 8.4

Same name and namespace in other branches
  1. 6.2 uc_file/uc_file.module \uc_file_help()

Implements hook_help().

File

uc_file/uc_file.module, line 29
Allows products to be associated with downloadable files.

Code

function uc_file_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'uc_product.feature_add':
      if ($route_match
        ->getRawParameter('fid') == 'file') {
        return '<p>' . t('Attach a file download to your product by selecting the specific product SKU and overriding the default download limits, if desired.') . '</p>';
      }
      break;
  }
}