You are here

amazon_filter.module in Amazon Product Advertisement API 8.2

File

modules/amazon_filter/amazon_filter.module
View source
<?php

/**
 * @file
 * Contains amazon_filter.module..
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function amazon_filter_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the amazon_filter module.
    case 'help.page.amazon_filter':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides a text filter to create links to Amazon products.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
amazon_filter_help Implements hook_help().