Skip to content
Snippets Groups Projects
Commit 000a3040 authored by Malcolm Young's avatar Malcolm Young
Browse files

initial module and info created by Drupal Console

parent 984d0220
Branches 8.x-1.x
No related tags found
No related merge requests found
name: Google Custom Search Engine
type: module
description: Use Google Custom Search to search your site and/or any other sites.
core: 8.x
package: Search
dependencies:
- search
<?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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment