You are here

apachesolr_confgen.module in Apache Solr Config Generator 8

Same filename and directory in other branches
  1. 6 apachesolr_confgen.module
  2. 7 apachesolr_confgen.module

File

apachesolr_confgen.module
View source
<?php

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

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

    // Main module help for the apachesolr_confgen module.
    case 'help.page.apachesolr_confgen':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Generator for Apache Solr Configuration Files.') . '</p>';
      return $output;
    default:
  }
}

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

Functions