simpletest_deprecation_test.module

Mock module for testing simpletest.

File

core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module

View source
<?php


/**
 * @file
 * Mock module for testing simpletest.
 */

/**
 * Implements hook_simpletest_alter().
 *
 * This hook is deprecated and should trigger a deprecation error when invoked.
 */
function simpletest_deprecation_test_simpletest_alter(&$groups) {
    // No-op.
}

/**
 * Implements hook_test_group_started().
 *
 * This hook is deprecated and should trigger a deprecation error when invoked.
 */
function simpletest_deprecation_test_test_group_started() {
    // No-op.
}

/**
 * Implements hook_test_group_finished().
 *
 * This hook is deprecated and should trigger a deprecation error when invoked.
 */
function simpletest_deprecation_test_test_group_finished() {
    // No-op.
}

/**
 * Implements hook_test_finished().
 *
 * This hook is deprecated and should trigger a deprecation error when invoked.
 */
function simpletest_deprecation_test_test_finished($results) {
    // No-op.
}

Functions

Title Deprecated Summary
simpletest_deprecation_test_simpletest_alter Implements hook_simpletest_alter().
simpletest_deprecation_test_test_finished Implements hook_test_finished().
simpletest_deprecation_test_test_group_finished Implements hook_test_group_finished().
simpletest_deprecation_test_test_group_started Implements hook_test_group_started().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.