You are here

cloudflare.module in CloudFlare 8

Same filename and directory in other branches
  1. 6 cloudflare.module
  2. 7.2 cloudflare.module
  3. 7 cloudflare.module

Contains cloudflare.module.

File

cloudflare.module
View source
<?php

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

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

    // Main module help for the cloudflare module.
    case 'help.page.cloudflare':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('CloudFlare CDN integration.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
cloudflare_help Implements hook_help().