You are here

mongodb.module in MongoDB 8.2

File

modules/mongodb/mongodb.module
View source
<?php

/**
 * @file
 * Contains the main module connecting Drupal to MongoDB.
 */
declare (strict_types=1);

/**
 * Implements hook_help().
 */
function mongodb_help($route) {
  switch ($route) {
    case 'help.page.mongodb':
      return '<p>' . t('The Drupal <a href=":project">MongoDB</a> project implements a generic interface to the <a href=":mongo">MongoDB</a> database server. Read its <a href=":docs">online documentation</a>.', [
        ':project' => 'https://www.drupal.org/project/mongodb',
        ':mongo' => 'https://www.mongodb.com/',
        ':docs' => 'https://fgm.github.io/mongodb',
      ]) . '</p>';
  }
}

Functions

Namesort descending Description
mongodb_help Implements hook_help().