Same filename and directory in other branches
  1. 8.9.x core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.module
  2. 9 core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.module

Experimental Test Requirements module to test hook_requirements().

File

core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.module
View source
<?php

/**
 * @file
 * Experimental Test Requirements module to test hook_requirements().
 */

/**
 * Implements hook_help().
 */
function experimental_module_requirements_test_help($route_name) {
  switch ($route_name) {
    case 'help.page.experimental_module_requirements_test':

      // Make the help text conform to core standards.
      return t('The Experimental Requirements Test module is not done yet. It may eat your data, but you can read the <a href=":url">online documentation for the Experimental Requirements Test module</a>.', [
        ':url' => 'http://www.example.com',
      ]);
  }
}

Functions