You are here

sparkpost.module in Sparkpost email 8

Same filename and directory in other branches
  1. 8.2 sparkpost.module
  2. 7.2 sparkpost.module
  3. 7 sparkpost.module

Contains sparkpost.module.

File

sparkpost.module
View source
<?php

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

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

    // Main module help for the Sparkpost module.
    case 'help.page.sparkpost':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Integrates Drupal site with Sparkpost - transactional mail service.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
sparkpost_help Implements hook_help().