You are here

google_cse.module in Google Custom Search Engine 8

Contains google_cse.module.

File

google_cse.module
View source
<?php

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

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

    // Main module help for the google_cse module.
    case 'help.page.google_cse':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Use Google Custom Search to search your site and/or any other sites.') . '</p>';
      return $output;
    default:
  }
}

/**
 * Implements hook_theme().
 */
function google_cse_theme() {
  $theme = [];
  return $theme;
}

Functions

Namesort descending Description
google_cse_help Implements hook_help().
google_cse_theme Implements hook_theme().