You are here

encrypt_test.module in Encrypt 7.2

Same filename and directory in other branches
  1. 7.3 tests/encrypt_test.module
  2. 7 tests/encrypt_test.module

Declares a bogus encryption method and key provider for testing purposes.

File

tests/encrypt_test.module
View source
<?php

/**
 * @file
 * Declares a bogus encryption method and key provider for testing purposes.
 */

/**
 * Implements hook_help().
 */
function encrypt_test_help($path, $arg) {
  switch ($path) {
    case 'admin/help#encrypt_test':
      $output = '<p>' . t('This module declares a bogus encryption method and key provider for testing purposes.') . '</p>';
      return $output;
  }
}

/**
 * Implements hook_ctools_plugin_directory().
 */
function encrypt_test_ctools_plugin_directory($module, $plugin) {
  if ($module == 'encrypt') {
    return 'plugins/' . $plugin;
  }
}