simpletest_deprecation_test.module in Drupal 8
Mock module for testing simpletest.
File
core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.moduleView 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
Name | Description |
---|---|
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(). |