You are here

gdpr_dump.module in General Data Protection Regulation 3.0.x

Module file for the GDPR Sql-Dump module.

File

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

/**
 * @file
 * Module file for the GDPR Sql-Dump module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

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

    // Main module help for the dump module.
    case 'help.page.gdpr_dump':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides a drush command for creating GDPR-compliant sql dumps.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
gdpr_dump_help Implements hook_help().