You are here

search_api_field_map.module in Search API Field Map 8.3

search_api_field_map.module Contains hook implementations for the Field Map Search API Module.

File

search_api_field_map.module
View source
<?php

/**
 * @file search_api_field_map.module
 * Contains hook implementations for the Field Map Search API Module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

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

    // Main module help for the search_api_field_map module.
    case 'help.page.search_api_field_map':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This module facilitates indexing data from multiple Drupal sites into a single search index.') . '</p>';
      $output .= '<h3>' . t('Usage') . '</h3>';
      $output .= '<p>' . t('On each site included in the mapped field search, you will need to') . ':</p>';
      $output .= '<ol>';
      $output .= '<li>' . t('Install this module') . '</li>';
      $output .= '<li>' . t('Configure a Search API server to connect to the shared index') . '</li>';
      $output .= '</ol>';
      $output .= '<h3>' . t('More information') . '</h3>';
      $output .= '<ul>';
      $output .= '<li><a href="docs/usage.md">' . t('How to use this module') . '</a></li>';
      $output .= '</ul>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
search_api_field_map_help Implements hook_help().